SheepDev

Decimal calculator

Decimal calculator lets you evaluate decimal arithmetic and parentheses precisely without eval in your browser.

Decimal calculator

⌂ Inputs and results stay in this browser and are not automatically stored or sent.

Waiting for input

Input

Settings

Output

Waiting for input

Complete text result

How to use

Enter decimal numbers with arithmetic operators and parentheses, then select output precision and rounding.

Rounding only the final result can differ from rounding intermediate steps. Resolve division by zero or unsupported functions and compare outputs under the rounding rule your task requires.

Examples

0.1 + 0.2 * (3 - 1)

Principles and limits

Each input is limited to 1,048,576 bytes, output to 33,554,432 bytes, and processing to 5,000 ms. Input is never silently truncated.

Guides

Related tools

Numbers, units, and bits

Percentage calculator

Percentage calculator lets you calculate percentages, change rates, and original values with zero checks in your browser.

Numbers, units, and bits

IEEE 754 inspector

IEEE 754 inspector lets you inspect binary32 or binary64 sign, exponent, fraction, and hexadecimal bits in your browser.