Toolvito

Works on this device

Decimal Calculator

Do exact arithmetic with decimals and see the working in columns. You can also turn a fraction or a percent into a decimal, turn a decimal back into a fraction, put decimals in order, and see the value of each digit.

Enter your values

Gives the exact answer and shows the working written out in columns.

Your values

A whole number or a decimal, with at most 60 digits. A minus sign in front is allowed.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

How to use this calculator

  1. Choose what you want to do, for example Add, subtract, multiply or divide decimals.
  2. Type the numbers with a decimal point, such as 12.5. Numbers can have up to 60 digits.
  3. For a division that does not end, choose how many decimal places you want, up to 100.
  4. Choose the button under the form. The page shows the answer, the steps and the written working.

The rules for decimals

  • Add and subtract: line up the decimal points. Fill empty places with zeros. Then add or subtract the columns from right to left.
  • Multiply: leave out the decimal points and multiply the whole numbers. Count the decimal places in both numbers together, and put the point that many places from the right in the answer.
  • Divide: move the decimal point to the right in both numbers until the second number is a whole number. Then divide. Bring down zeros to get more decimal places.
  • Fraction to decimal: divide the top number by the bottom number. The decimal ends when the bottom number, in lowest terms, has no prime factors other than 2 and 5. Otherwise a block of digits repeats without end.
  • Decimal to fraction: write the digits over a power of ten, then divide the top and the bottom by their greatest common divisor.
  • Percent to decimal: divide by 100, which moves the point two places to the left.
  • Ordering: give every number the same number of decimal places, then compare the digits from left to right.

Worked examples

12.5 + 3.2 = 15.7 and 12.5 − 3.2 = 9.3.

12.5 × 3.2: without the points, 125 × 32 = 4000. The two numbers have two decimal places together, so the answer is 40.00, which is 40.

12.5 ÷ 3.2 is the same as 125 ÷ 32, which is 3.90625.

7/8 as a decimal is 0.875. 1/3 as a decimal is 0.333…, where the digit 3 repeats.

0.375 as a fraction is 375/1000, which is 3/8 in lowest terms. The repeating decimal 0.1666… is 1/6.

12.5% as a decimal is 0.125. Five and 22 thousandths is 5.022.

12.375 in expanded form is 10 + 2 + 0.3 + 0.07 + 0.005. In order from smallest to largest: 0.405 < 0.45 < 0.5 < 0.54.

5 feet 7 1/2 inches is 5.625 feet.

Limits you should know

  • Numbers can have at most 60 digits. Answers to addition, subtraction and multiplication are exact, with no rounding.
  • A division is worked out to at most 100 decimal places. The digits found by long division are cut off, not rounded. The page also gives the rounded answer and the exact fraction.
  • The estimate rounds each number to the nearest whole number. It is only a check on the size of the answer.
  • The place-value option takes at most 15 digits before the decimal point and 12 after it.
  • The feet and inches option is for lengths that are not negative.
  • This page does not convert time to decimal hours, round a number to decimal places, or change number bases such as binary and hexadecimal. Other tools on this site do those tasks.

Related tools