🐼

Decimal Calculator

Perform precise decimal arithmetic, convert fractions to decimals, and round numbers to any decimal place. Shows exact precision results.

Real-time results 100% free No sign-up Mobile friendly

Formulas verified against authoritative sources including the CFPB and Federal Reserve. Last reviewed . Editorial policy.

Decimal Arithmetic

3.14 + 2.71 =

5.8500000000

Decimal places (a)

2

Decimal places (b)

2

Result (rounded 2dp)

5.85

Result (scientific)

5.8500e+0

Frequently Asked Questions

Why do computers sometimes get decimal math wrong?

Floating-point numbers (like 0.1 + 0.2 ≠ 0.3) occur because computers store numbers in binary (base 2), and many decimal fractions can't be represented exactly in binary — similar to how 1/3 can't be written exactly in decimal. This is called floating-point error.

How do I convert a fraction to a decimal?

Simply divide the numerator by the denominator. 1/4 = 0.25, 1/3 ≈ 0.333... (repeating). Terminating decimals result from fractions whose denominators only have factors of 2 and 5. All other fractions produce repeating decimals.

What are the rounding rules?

Standard rounding: if the digit to be dropped is 5 or more, round up; if less than 5, round down. Floor always rounds down (toward negative infinity). Ceiling always rounds up (toward positive infinity). Truncation simply removes the extra digits without rounding.

Advertisement

728×90 Leaderboard