How to use the decimals calculator
- Type two decimal numbers (negatives and whole numbers work too; fractions like 3/8 are accepted).
- Choose add, subtract, multiply or divide, and how many decimal places to round to.
- Read the exact answer (repeating digits get a bar), the rounded value, the fraction and the percent, with the steps for doing it by hand.
Rules for decimal arithmetic
| Operation | Rule |
|---|---|
| Add / subtract | Line up the decimal points, pad with zeros, calculate, keep the point in place |
| Multiply | Multiply as whole numbers; decimal places in answer = sum of places in the factors |
| Divide | Shift both points until the divisor is whole, then divide normally |
Worked examples
- 12.75 ร 3.4: 1275 ร 34 = 43,350; 3 decimal places โ 43.35 (867/20).
- 12.75 รท 3.4: 127.5 รท 34 = 3.75 (15/4).
- 1 รท 7 = 0.142857, a repeating decimal with a 6-digit cycle.
- 2 รท 3 = 0.6, which rounds to 0.67.
Decimal place values
| Place | Value | Example (3.14159) |
|---|---|---|
| Tenths | 0.1 | 1 |
| Hundredths | 0.01 | 4 |
| Thousandths | 0.001 | 1 |
| Ten-thousandths | 0.0001 | 5 |
Working with fractions instead? Use the fraction calculator. Very large or small decimals are easier in the scientific notation calculator, and the square root calculator handles roots. More math calculators.
Sources
Frequently asked questions
How do you multiply decimals?
Multiply the numbers as if there were no decimal points, then count the decimal places in both numbers and put that many places in the answer. 12.75 ร 3.4: 1275 ร 34 = 43,350, with 2 + 1 = 3 decimal places, gives 43.350 = 43.35.
How do you divide decimals?
Move the decimal point in the divisor to the right until it's a whole number, and move the dividend's point the same number of places. 12.75 รท 3.4 becomes 127.5 รท 34 = 3.75.
How do you add or subtract decimals?
Line up the decimal points, padding with zeros so both numbers have the same number of decimal places, then add or subtract as whole numbers and bring the point straight down. 4.5 + 0.75 โ 4.50 + 0.75 = 5.25.
What is a repeating decimal?
A decimal whose digits repeat forever, shown with a bar over the repeating block. 1 รท 3 = 0.333โฆ (0.3ฬ) and 1 รท 7 = 0.142857142857โฆ with a 6-digit cycle. A fraction in lowest terms terminates only if its denominator has no prime factors other than 2 and 5.
How do you round a decimal?
Look at the digit just after the place you're rounding to: 5 or more rounds up, less than 5 rounds down. 2/3 = 0.6666โฆ rounds to 0.67 at two places. This calculator rounds halves away from zero.
Why does 0.1 + 0.2 not equal 0.3 on some calculators?
Computers store numbers in binary, where 0.1 and 0.2 can't be represented exactly, so the sum comes out as 0.30000000000000004. This calculator uses exact fractions, so 0.1 + 0.2 = 0.3 exactly.