Skip to content
Mathico

Decimals Calculator

Add, subtract, multiply and divide decimals exactly, with no floating-point rounding errors. See repeating decimals marked with a bar, the fraction form, the answer rounded to any place and the hand-calculation steps.

Operation
decimal places

12.75 ร— 3.4

43.35

Rounded to 2 places
43.35
As a fraction
867/20
As a percent
4335.00%
Decimal type
Terminating
  1. Ignore the points: 1275 ร— 34 = 43350
  2. Count decimal places: 2 + 1 = 3, so move the point 3 places left.

Calculated with exact fractions, so 0.1 + 0.2 is exactly 0.3 (ordinary computer math gives 0.30000000000000004).

How to use the decimals calculator

  1. Type two decimal numbers (negatives and whole numbers work too; fractions like 3/8 are accepted).
  2. Choose add, subtract, multiply or divide, and how many decimal places to round to.
  3. 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

OperationRule
Add / subtractLine up the decimal points, pad with zeros, calculate, keep the point in place
MultiplyMultiply as whole numbers; decimal places in answer = sum of places in the factors
DivideShift 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

PlaceValueExample (3.14159)
Tenths0.11
Hundredths0.014
Thousandths0.0011
Ten-thousandths0.00015

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.