Skip to content
SoftwareSolutions.net
Calculators & Converters

Decimal Calculator

Work with decimal numbers accurately.

Try it

Ready

Inputs

Result

The result appears here as you type.

About Decimal Calculator

A decimal calculator adds, subtracts, multiplies and divides numbers with decimal points, and rounds the result to the number of places you choose. Decimals are everywhere in money, measurements, scores and statistics, and most errors with them come from misplaced points or from rounding too early in a long calculation.

Enter the numbers and the operation, then read the result. The calculator keeps the place value of each digit, so 4.5 times 0.2 is exactly 0.9, and it applies the rounding rule you choose at the end, not partway through the working.

How to use Decimal Calculator

  1. Enter the first decimal number, including any digits after the point.
  2. Choose the operation you need.
  3. Enter the second decimal number.
  4. Choose how many decimal places the result should show.
  5. Read the result and use Reset to start a new calculation.

Place value and decimal points

Each digit after the decimal point stands for a tenth, a hundredth, a thousandth and so on. The number 3.205 has three tenths, no hundredths and five thousandths. When adding or subtracting, line up the decimal points so that the same place values sit in the same columns. A misplaced point is the most common cause of a result that is ten times too large or too small.

When multiplying, ignore the points at first and count the total number of digits after the points in both numbers. The product has that many decimal places. For example, 1.5 times 0.12 has three decimal places in total, so the answer is 0.180, which is 0.18. Dividing is easier if you move both points by the same amount until the divisor is a whole number.

Rounding and precision

Rounding changes a number to fewer decimal places. Round up if the digit that follows is five or more, and keep the digit if it is less. Rounding 2.4567 to two places gives 2.46. Money is usually rounded to two places, and measurements often to the precision of the tool that took them.

Round at the end of a calculation, not in the middle. Rounding each step of a long sum can add up to a noticeable error, while keeping extra places until the final answer keeps the result accurate. If a result will feed into another calculation, keep more places than you plan to show.

Many programming languages store decimals in binary floating point, which cannot represent a value such as 0.1 exactly. The familiar result 0.1 plus 0.2 equalling 0.30000000000000004 comes from this, not from a fault in the sum. Decimal arithmetic avoids the problem, which is why money calculations should be done this way.

Frequently asked questions

Why does 0.1 plus 0.2 not give exactly 0.3 in some programs?

Those programs store decimals in binary, which cannot represent 0.1 exactly. Use decimal arithmetic or round the result to the places you need.

What is the difference between rounding and truncating?

Rounding moves to the nearest value at the chosen place. Truncating simply drops the extra digits, so 2.4567 truncated to two places is 2.45.

Does rounding half up always round the same way?

Rounding half up moves .5 upwards. Some financial and scientific standards use banker's rounding, which rounds halves to the nearest even digit. Check which rule your report requires.

Can I enter numbers with many decimal places?

Yes. Enter as many digits as you have. The result is shown to the number of places you choose, so the extra digits do not change the display.

Related tools

Tools that pair well with this one.