Skip to content
Decimal Operations

Decimal Operations

By the end of this section, you will be able to: add and subtract decimals, multiply decimals, divide decimals, and use decimals in money applications.

Add and subtract decimals

Let’s take one more look at the lunch order from the previous section, this time noticing how the numbers were added together.

$3.45Sandwich$1.25Water+ $0.33Tax$5.03Total\begin{array}{rl} \$3.45 & \text{Sandwich} \\ \$1.25 & \text{Water} \\ +\ \$0.33 & \text{Tax} \\ \hline \$5.03 & \text{Total} \end{array}

All three items (sandwich, water, tax) were priced in dollars and cents, so we lined up the dollars under the dollars and the cents under the cents, with the decimal points lined up between them. Then we just added each column, as if we were adding whole numbers. By lining up decimals this way, we can add or subtract the corresponding place values just as we did with whole numbers.

Add or subtract decimals.

  1. Write the numbers vertically so the decimal points line up.
  2. Use zeros as place holders, as needed.
  3. Add or subtract the numbers as if they were whole numbers. Then place the decimal in the answer under the decimal points in the given numbers.

Example. Add: 3.7+12.43.7 + 12.4.

Write the numbers vertically so the decimal points line up. Place holders are not needed since both numbers have the same number of decimal places. Add the numbers as if they were whole numbers, then place the decimal in the answer under the decimal points in the given numbers:

3.7+12.416.1\begin{array}{r} 3.7 \\ +12.4 \\ \hline 16.1 \end{array}

Example. Add: 23.5+41.3823.5 + 41.38.

Write the numbers vertically so the decimal points line up. Place a 00 as a place holder after the 55 in 23.523.5, so that both numbers have two decimal places. Add the numbers as if they were whole numbers, then place the decimal in the answer:

23.50+41.3864.88\begin{array}{r} 23.50 \\ +41.38 \\ \hline 64.88 \end{array}

Add: 18.32+14.7918.32 + 14.79

Add: 5.123+18.475.123 + 18.47

How much change would you get if you handed the cashier a $20 bill for a $14.65 purchase? We will show the steps to calculate this next.

Example. Subtract: 2014.6520 - 14.65.

Write the numbers vertically so the decimal points line up. Remember 2020 is a whole number, so place the decimal point after the 00. Place two zeros after the decimal point in 2020, as place holders, so that both numbers have two decimal places. Subtract the numbers as if they were whole numbers, then place the decimal in the answer:

20.0014.655.35\begin{array}{r} 20.00 \\ -14.65 \\ \hline 5.35 \end{array}

Subtract: 5037.4250 - 37.42

Example. Subtract: 2.517.42.51 - 7.4.

If we subtract 7.47.4 from 2.512.51, the answer will be negative since 7.4>2.517.4 > 2.51. To subtract easily, we can subtract 2.512.51 from 7.47.4. Then we will place the negative sign in the result.

Write the numbers vertically so the decimal points line up. Place a zero after the 44 in 7.47.4 as a place holder, so that both numbers have two decimal places. Subtract and place the decimal in the answer:

7.402.514.89\begin{array}{r} 7.40 \\ -2.51 \\ \hline 4.89 \end{array}

Remember that we are really subtracting 2.517.42.51 - 7.4, so the answer is negative:

2.517.4=4.892.51 - 7.4 = -4.89

Subtract: 4.776.34.77 - 6.3

Subtract: 8.1211.78.12 - 11.7

Multiply decimals

Multiplying decimals is very much like multiplying whole numbers — we just have to determine where to place the decimal point. The procedure for multiplying decimals will make sense if we first review multiplying fractions.

To multiply fractions, we multiply the numerators and then multiply the denominators. Let’s see what we get as the product of decimals by converting them to fractions first, comparing two examples side by side.

(0.3)(0.7)(0.3)(0.7)(0.2)(0.46)(0.2)(0.46)
Convert to fractions.(310)(710)\left(\tfrac{3}{10}\right)\left(\tfrac{7}{10}\right)(210)(46100)\left(\tfrac{2}{10}\right)\left(\tfrac{46}{100}\right)
Multiply.21100\tfrac{21}{100}921000\tfrac{92}{1000}
Convert back to decimals.0.210.210.0920.092

There is a pattern that we can use. In the first case, we multiplied two numbers that each had one decimal place, and the product had two decimal places. In the second case, we multiplied a number with one decimal place by a number with two decimal places, and the product had three decimal places.

How many decimal places would you expect for the product of (0.01)(0.004)(0.01)(0.004)? If you said “five,” you recognized the pattern: when we multiply two numbers with decimals, we count all the decimal places in the factors — in this case two plus three — to get the number of decimal places in the product — in this case five.

(0.01)2 places(0.004)3 places=0.000045 places\underbrace{(0.01)}_{2 \text{ places}}\underbrace{(0.004)}_{3 \text{ places}} = \underbrace{0.00004}_{5 \text{ places}}(1100)(41000)=4100,000\left(\frac{1}{100}\right)\left(\frac{4}{1000}\right) = \frac{4}{100{,}000}

Once we know how to determine the number of digits after the decimal point, we can multiply decimal numbers without converting them to fractions first. The number of decimal places in the product is the sum of the number of decimal places in the factors.

The rules for multiplying positive and negative numbers apply to decimals, too: when multiplying two numbers, if their signs are the same, the product is positive; if their signs are different, the product is negative. When you multiply signed decimals, first determine the sign of the product and then multiply as if the numbers were both positive. Finally, write the product with the appropriate sign.

Multiply decimal numbers.

  1. Determine the sign of the product.
  2. Write the numbers in vertical format, lining up the numbers on the right.
  3. Multiply the numbers as if they were whole numbers, temporarily ignoring the decimal points.
  4. Place the decimal point. The number of decimal places in the product is the sum of the number of decimal places in the factors. If needed, use zeros as placeholders.
  5. Write the product with the appropriate sign.

Example. Multiply: (3.9)(4.075)(3.9)(4.075).

The signs are the same, so the product will be positive. Write the numbers in vertical format, lining up the numbers on the right, and multiply as if they were whole numbers:

4.075×  3.936675122250158925\begin{array}{r} 4.075 \\ \times\ \ 3.9 \\ \hline 36675 \\ 12225\phantom{0} \\ \hline 158925 \end{array}

Place the decimal point. Add the number of decimal places in the factors (3+13 + 1); place the decimal point 44 places from the right:

(3.9)(4.075)=15.8925(3.9)(4.075) = 15.8925

Multiply: 4.5(6.107)4.5(6.107)

Multiply: 10.79(8.12)10.79(8.12)

Example. Multiply: (8.2)(5.19)(-8.2)(5.19).

The signs are different, so the product will be negative. Write in vertical format, lining up the numbers on the right, and multiply:

5.19× 8.201038041520042558\begin{array}{r} 5.19 \\ \times\ 8.2\phantom{0} \\ \hline 1038\phantom{0} \\ 4152\phantom{00} \\ \hline 42558 \end{array}

Place the decimal point 33 places from the right (1+21 + 2 places). The product is negative:

(8.2)(5.19)=42.558(-8.2)(5.19) = -42.558

Multiply: (4.63)(2.9)(4.63)(-2.9)

Multiply: (7.78)(4.9)(-7.78)(4.9)

In the next example, we’ll need to add several placeholder zeros to properly place the decimal point.

Example. Multiply: (0.03)(0.045)(0.03)(0.045).

The product is positive. Write in vertical format and multiply as if they were whole numbers, getting 135135. The decimal point must be 55 places from the right (2+32 + 3 places), so add zeros as needed:

(0.03)(0.045)=0.00135(0.03)(0.045) = 0.00135

Multiply: (0.04)(0.087)(0.04)(0.087)

Multiply: (0.09)(0.067)(0.09)(0.067)

Multiply by powers of 10

In many fields, especially in the sciences, it is common to multiply decimals by powers of 1010. Let’s see what happens when we multiply 1.94361.9436 by some powers of 1010:

1.9436(10)=19.4361.9436(100)=194.361.9436(1000)=1943.61.9436(10) = 19.436 \qquad 1.9436(100) = 194.36 \qquad 1.9436(1000) = 1943.6

The number of places that the decimal point moved is the same as the number of zeros in the power of ten:

Multiply byNumber of zerosNumber of places decimal point moves
1010111 place to the right
100100222 places to the right
1,0001{,}000333 places to the right
10,00010{,}000444 places to the right

We can use this pattern as a shortcut to multiply by powers of ten instead of multiplying using the vertical format: count the zeros in the power of 1010 and then move the decimal point that same number of places to the right. So, for example, to multiply 45.8645.86 by 100100, move the decimal point 22 places to the right: 45.86×100=458645.86 \times 100 = 4586.

Sometimes when we need to move the decimal point, there are not enough decimal places. In that case, we use zeros as placeholders. For example, let’s multiply 2.42.4 by 100100. We need to move the decimal point 22 places to the right. Since there is only one digit to the right of the decimal point, we must write a 00 in the hundredths place:

2.4×100=2402.4 \times 100 = 240

Multiply a decimal by a power of 10.

  1. Move the decimal point to the right the same number of places as the number of zeros in the power of 1010.
  2. Write zeros at the end of the number as placeholders if needed.

Example. Multiply 5.635.63 by factors of (a) 1010 (b) 100100 (c) 10001000.

By looking at the number of zeros in the multiple of ten, we see the number of places we need to move the decimal to the right.

(a) There is 11 zero in 1010, so move the decimal point 11 place to the right: 5.63(10)=56.35.63(10) = 56.3.

(b) There are 22 zeros in 100100, so move the decimal point 22 places to the right: 5.63(100)=5635.63(100) = 563.

(c) There are 33 zeros in 10001000, so move the decimal point 33 places to the right. A zero must be added at the end: 5.63(1000)=5,6305.63(1000) = 5{,}630.

Multiply 2.58 by 10.

Multiply 2.58 by 100.

Multiply 2.58 by 1000.

Divide decimals

Just as with multiplication, division of decimals is very much like dividing whole numbers. We just have to figure out where the decimal point must be placed.

To understand decimal division, consider the multiplication problem (0.2)(4)=0.8(0.2)(4) = 0.8. A multiplication problem can be rephrased as a division problem, so we can write 0.8÷4=0.20.8 \div 4 = 0.2. We can think of this as “if we divide 88 tenths into four groups, how many are in each group?” There are four groups of two-tenths in eight-tenths, so 0.8÷4=0.20.8 \div 4 = 0.2.

00.20.40.60.810.20.20.20.2

Using long division notation, we would write 0.20.2 over 4)0.84\overline{)0.8}. Notice that the decimal point in the quotient is directly above the decimal point in the dividend.

To divide a decimal by a whole number, we place the decimal point in the quotient above the decimal point in the dividend and then divide as usual. Sometimes we need to use extra zeros at the end of the dividend to keep dividing until there is no remainder.

Divide a decimal by a whole number.

  1. Write as long division, placing the decimal point in the quotient above the decimal point in the dividend.
  2. Divide as usual.

Example. Divide: 0.12÷30.12 \div 3.

Write as long division, placing the decimal point in the quotient above the decimal point in the dividend. Divide as usual — since 33 does not go into 00 or 11, we use zeros as placeholders:

0.12÷3=0.040.12 \div 3 = 0.04

Divide: 0.28÷40.28 \div 4

Divide: 0.56÷70.56 \div 7

In everyday life, we divide whole numbers into decimals — money — to find the price of one item. For example, suppose a case of 2424 water bottles costs $3.99. To find the price per water bottle, we would divide $3.99 by 2424, and round the answer to the nearest cent (hundredth).

Example. Divide: $3.99÷24\text{\textdollar}3.99 \div 24.

Place the decimal point in the quotient above the decimal point in the dividend. Divide as usual. Since this division involves money, we round it to the nearest cent (hundredth), so we must carry the division to the thousandths place:

$3.99÷24=$0.166$0.17\$3.99 \div 24 = \$0.166 \approx \$0.17

This means the price per bottle is 1717 cents.

Divide $6.99 ÷\div 36, rounded to the nearest cent.

Divide $4.99 ÷\div 12, rounded to the nearest cent.

Divide a decimal by another decimal

So far, we have divided a decimal by a whole number. What happens when we divide a decimal by another decimal? Let’s look at the same multiplication problem we looked at earlier, but in a different way: (0.2)(4)=0.8(0.2)(4) = 0.8. This time we ask, “how many times does 0.20.2 go into 0.80.8?” Because (0.2)(4)=0.8(0.2)(4) = 0.8, we can say that 0.20.2 goes into 0.80.8 four times. This means that 0.80.8 divided by 0.20.2 is 44:

0.8÷0.2=40.8 \div 0.2 = 4

We would get the same answer, 44, if we divide 88 by 22, both whole numbers. Why is this so? Let’s think about the division problem as a fraction:

0.80.2=(0.8)10(0.2)10=82=4\frac{0.8}{0.2} = \frac{(0.8)10}{(0.2)10} = \frac{8}{2} = 4

We multiplied the numerator and denominator by 1010 and ended up just dividing 88 by 22. To divide decimals, we multiply both the numerator and denominator by the same power of 1010 to make the denominator a whole number. Because of the Equivalent Fractions Property, we haven’t changed the value of the fraction. The effect is to move the decimal points in the numerator and denominator the same number of places to the right.

We use the rules for dividing positive and negative numbers with decimals, too. When dividing signed decimals, first determine the sign of the quotient and then divide as if the numbers were both positive. Finally, write the quotient with the appropriate sign.

Divide decimal numbers.

  1. Determine the sign of the quotient.
  2. Make the divisor a whole number by moving the decimal point all the way to the right. Move the decimal point in the dividend the same number of places to the right, writing zeros as needed.
  3. Divide. Place the decimal point in the quotient above the decimal point in the dividend.
  4. Write the quotient with the appropriate sign.

Example. Divide: 2.89÷(3.4)-2.89 \div (3.4).

The quotient will be negative. Make the divisor a whole number by moving the decimal point in 3.43.4 all the way to the right (one place); move the decimal point in the dividend the same number of places to the right, so 2.892.89 becomes 28.928.9. Divide, adding zeros as needed until the remainder is zero:

2.89÷(3.4)=0.85-2.89 \div (3.4) = -0.85

Divide: 1.989÷5.1-1.989 \div 5.1

Divide: 2.04÷5.1-2.04 \div 5.1

Example. Divide: 25.65÷(0.06)-25.65 \div (-0.06).

The signs are the same, so the quotient is positive. Make the divisor a whole number by moving the decimal point in 0.06-0.06 all the way to the right (two places); move the decimal point in the dividend the same number of places, so 25.65-25.65 becomes 2565-2565. Divide, placing the decimal point in the quotient above the decimal point in the dividend:

25.65÷(0.06)=427.5-25.65 \div (-0.06) = 427.5

Divide: 23.492÷(0.04)-23.492 \div (-0.04)

Divide: 4.11÷(0.12)-4.11 \div (-0.12)

Now we will divide a whole number by a decimal number.

Example. Divide: 4÷0.054 \div 0.05.

The signs are the same, so the quotient is positive. Make the divisor a whole number by moving the decimal point in 0.050.05 all the way to the right (two places); move the decimal point in the dividend the same number of places, adding zeros as needed, so 44 becomes 400400. Divide, placing the decimal point in the quotient above the decimal point in the dividend:

4÷0.05=804 \div 0.05 = 80

We can relate this example to money: how many nickels are there in four dollars? Because 4÷0.05=804 \div 0.05 = 80, there are 8080 nickels in $4.

Divide: 6÷0.036 \div 0.03

Divide: 7÷0.027 \div 0.02

Use decimals in money applications

We often apply decimals in real life, and most of the applications involve money. The Strategy for Applications we used in The Language of Algebra gives us a plan to follow to help find the answer:

  1. Identify what you are asked to find.
  2. Write a phrase that gives the information to find it.
  3. Translate the phrase to an expression.
  4. Simplify the expression.
  5. Answer the question with a complete sentence.

Example. Paul received $50 for his birthday. He spent $31.64 on a video game. How much of Paul’s birthday money was left?

What are you asked to find? How much did Paul have left? Write a phrase: $50 less $31.64. Translate: 5031.6450 - 31.64. Simplify: 18.3618.36. Write a sentence: Paul has $18.36 left.

Nicole earned $35 for babysitting her cousins, then went to the bookstore and spent $18.48 on books and coffee. How much of her babysitting money was left?

Amber bought a pair of shoes for $24.75 and a purse for $36.90. The sales tax was $4.32. How much did Amber spend in total?

Example. Jessie put 88 gallons of gas in her car. One gallon of gas costs $3.529. How much does Jessie owe for the gas? (Round the answer to the nearest cent.)

What are you asked to find? How much did Jessie owe for all the gas? Write a phrase: 88 times the cost of one gallon of gas. Translate: 8($3.529)8(\text{\textdollar}3.529). Simplify: $28.232\text{\textdollar}28.232. Round to the nearest cent: $28.23\text{\textdollar}28.23. Write a sentence: Jessie owes $28.23 for her gas purchase.

Hector put 13 gallons of gas into his car. One gallon of gas costs $3.175. How much did Hector owe for the gas? Round to the nearest cent.

Christopher bought 5 pizzas for the team. Each pizza cost $9.75. How much did all the pizzas cost?

Example. Four friends went out for dinner. They shared a large pizza and a pitcher of soda. The total cost of their dinner was $31.76. If they divide the cost equally, how much should each friend pay?

What are you asked to find? How much should each friend pay? Write a phrase: $31.76 divided equally among the four friends. Translate: $31.76÷4\text{\textdollar}31.76 \div 4. Simplify: $7.94\text{\textdollar}7.94. Write a sentence: each friend should pay $7.94 for their share of the dinner.

Six friends went out for dinner. The total cost of their dinner was $92.82. If they divide the bill equally, how much should each friend pay?

Chad worked 40 hours last week and his paycheck was $570. How much does he earn per hour?

Be careful to follow the order of operations in the next example — remember to multiply before you add.

Example. Marla buys 66 bananas that cost $0.22 each and 44 oranges that cost $0.49 each. How much is the total cost of the fruit?

What are you asked to find? How much is the total cost of the fruit? Write a phrase: 66 times the cost of each banana plus 44 times the cost of each orange. Translate: 6($0.22)+4($0.49)6(\text{\textdollar}0.22) + 4(\text{\textdollar}0.49). Simplify: $1.32+$1.96\text{\textdollar}1.32 + \text{\textdollar}1.96. Add: $3.28\text{\textdollar}3.28. Write a sentence: Marla’s total cost for the fruit is $3.28.

Suzanne buys 3 cans of beans that cost $0.75 each and 6 cans of corn that cost $0.62 each. How much is the total cost of these groceries?

Lydia bought movie tickets for the family. She bought two adult tickets for $9.50 each and four children's tickets for $6.00 each. How much did the tickets cost Lydia in all?

Key terms

decimal point — the point that separates the whole-number part of a decimal from its fractional part; when adding or subtracting decimals, the decimal points must line up. placeholder zero — a zero written at the end of a decimal’s fractional part, or between the decimal point and a nonzero digit, so two decimals can be compared or combined digit by digit without changing either number’s value.


This section is adapted from Prealgebra 2e, Section 5.2: Decimal Operations by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated the vertical addition/subtraction/multiplication/long-division layouts and the multiply-by-powers-of-ten table as typeset math and markdown tables, and the number-line jump diagram as an accessible inline graphic; omitted the Be Prepared quiz, Links to Literacy callout, Media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.