Dimes and Nickels: Solving a Coin Problem

Coin & Money Problems 9th-10th Grade
Problem

Thirty coins, all dimes and nickels, are worth $2.60. How many nickels are there?

Already Got the Answer?

Setup:n + d = 30 and 5n + 10d = 260 (value in cents).
Answer:n = 8 nickels (and d = 22 dimes).
One-line check:8(5) + 22(10) = 40 + 220 = 260¢ = $2.60 ✓
  • If your answer was 22, you found the dimes. The question asks for nickels.
  • If you got something odd, check that you converted $2.60 to 260 cents before building the equation.

Stay for the second and third methods, which solve this problem with no unknowns, and for the four extension problems at the bottom.

What You Will Learn

  • Separating "how many" from "how much." Every coin problem hides two different quantities: a count of coins and a value in cents. Keeping them apart is the whole skill.
  • Building a two-equation system from a story and solving it by substitution.
  • Choosing a common unit. Why converting dollars to cents before writing any equation prevents the most common error.
  • Reasoning without algebra. The "assume they're all dimes" trick and the weighted-average balance both reach the answer through logic about differences.
  • Recognizing a pattern. This is the same structure as any "two kinds of thing, known total count, known total amount" problem, from ticket sales to chemical mixtures.

The Setup

Before writing any equation, let's organize what we know and what we don't. Each coin type gets a row, and each row tracks three things: how many coins, what each is worth, and the total value they contribute.

CoinNumber of coinsValue of one coinTotal value
Nickelsn5¢5n cents
Dimesd10¢10d cents
Total30—260 cents ($2.60)
The "Number" column adds up to 30. The "Total value" column adds up to 260. Those are your two equations.

Once the table is filled in, here is the same problem as it will look when solved (22 dimes and 8 nickels), drawn to scale by coin count:

Thirty coins, all dimes and nickels, are worth $2.60. How many nickels are there?

Solution: Method 1 — The Substitution Approach

This is the textbook route: translate the story into two equations, then use one to eliminate a variable from the other.

Step 1 — Name the unknowns and pick a unit

Let n be the number of nickels and d the number of dimes. The money total is given in dollars but the coins are worth 5 and 10 cents, so convert now:

$2.60 = 260 cents

Step 2 — Write one equation for the count

Every coin is either a nickel or a dime, and there are 30 coins:

n + d = 30

Step 3 — Write one equation for the value

Each nickel contributes 5 cents and each dime 10 cents, so the total value in cents is:

5n + 10d = 260

Step 4 — Substitute

Solve the count equation for d: d = 30 − n. Since the question asks for nickels, replace d in the value equation so that only n remains:

5n + 10(30 − n) = 260
5n + 300 − 10n = 260
−5n + 300 = 260
−5n = −40
n = 8

Step 5 — Recover the other coin

d = 30 − 8 = 22

There are 8 nickels and 22 dimes.

Solution: Method 2 — The "Everything Is a Dime" Trick

This method has no variables at all. You start with a deliberately wrong picture, measure how wrong it is, and fix it one coin at a time.

Step 1 — Pretend all 30 coins are dimes

30 × 10¢ = 300¢

Step 2 — Measure the error

The real total is 260¢, so the pretend pile is too rich by:

300¢ − 260¢ = 40¢

Step 3 — Fix it one swap at a time

Each time you replace a dime with a nickel, the total drops by 10¢ − 5¢ = 5¢. To remove 40¢ of excess, you need:

40 ÷ 5 = 8 swaps

Eight dimes became nickels, so there are 8 nickels and 30 − 8 = 22 dimes.

Why this works: It is the substitution method in disguise. The "40¢ error" is 300 − 260, the "5¢ per swap" is the coefficient of n you saw in −5n = −40. The algebra and the logic are the same calculation.

Solution: Method 3 — The Average-Coin Balance

Here is a third way to see it, built around the average value of a coin. It matters because it generalizes to mixture problems.

Step 1 — Find the average coin

260¢ ÷ 30 coins = 26/3 ¢ ≈ 8.67¢ per coin

Step 2 — Locate the average between 5¢ and 10¢

The average sits between the two coin values, like a balance point on a seesaw. Measure how far it is from each end:

distance to the dime: 10 − 26/3 = 4/3
distance to the nickel: 26/3 − 5 = 11/3

Step 3 — Balance the seesaw

The average is closer to the dime, so dimes are more numerous. The balance rule says the counts are in the opposite ratio of the distances:

dimes : nickels = 11/3 : 4/3 = 11 : 4

That makes 15 equal parts for 30 coins, so each part is 2 coins. Nickels: 4 × 2 = 8. Dimes: 11 × 2 = 22. Same answer, a third way.

The Answer

There are 8 nickels (and 22 dimes).
The 30 coins consist of 22 dimes worth 220¢ and 8 nickels worth 40¢, for a total of 260¢ = $2.60.

Verification

Check both original conditions, not just one. A wrong answer can satisfy the count and still miss on the money, or the reverse.

Count:8 + 22 = 30 coins ✓

Value:8 × 5¢ = 40¢ and 22 × 10¢ = 220¢, so 40 + 220 = 260¢ = $2.60 ✓

Independent check: Three different methods produced 8. That agreement is itself strong evidence.

What Trips People Up

✗ 0.05n + 0.10d = 260

Mixing units. The coin values are in dollars here but 260 is in cents. This equation says 30 coins are worth $260, and it produces nonsense. Choose one unit before writing the first equation. Cents are easier because they remove the decimals. If you prefer dollars, write 0.05n + 0.10d = 2.60.

✗ 5n + 10d = 30

Putting the count in the value equation. The number 30 counts coins, not cents. Each equation must have a consistent meaning. In the value equation, every term, including the right-hand side, is in cents.

✗ n = 22

Answering the wrong question. It is easy to solve for d first and stop. The question asks for nickels. Before you write your final answer, glance back at the question and make sure the number you boxed matches it.

✗ 5(n) + 10(30) − n = 260

Substituting without parentheses. When replacing d with 30 − n, the whole expression must be multiplied by 10: 10(30 − n). Dropping the parentheses changes the sign of the n term and leads to a wrong answer.

The Pattern Behind This

Coin problems are one instance of a very general structure: two kinds of item, a known total count, and a known total amount. If the two values per item are a (lower) and b (higher), there are N items, and the total amount is T, then the number of lower-value items is:

number of low-value items = (bN − T) / (b − a)

That is just Method 2 written as a formula: pretend all are the higher kind (bN), subtract the real total (T) to get the excess, and divide by the amount each swap removes (b − a). Here:

(10 × 30 − 260) / (10 − 5) = 40 / 5 = 8
Limits of the formula: It works for exactly two kinds of items. With three coin types, you need more information (an extra relationship between the counts), as in What-If #3 below.

The same structure appears whenever you see "adult and child tickets," "two-price shipments," or "a mixture of two solutions."

When the Answer Isn't Neat

In most word problems, a decimal answer is perfectly fine. In coin problems, a non-integer answer carries a different message. Suppose the total were $2.62 instead of $2.60:

5n + 10(30 − n) = 262
300 − 5n = 262
n = 38/5 = 7.6

You cannot have 7.6 nickels. The method worked correctly. The problem itself is impossible, because every combination of 30 dimes and nickels has a total divisible by 5. When a count comes out fractional, check your arithmetic first. If the arithmetic is right, the problem as stated has no valid answer. This is a useful habit for judging whether a problem is well-posed.

Try These Variations

Four problems, roughly in order of difficulty. Try each on paper before clicking.

1
Change the Total

Thirty coins, all dimes and nickels, are worth $2.10. How many nickels are there?

Step 1 — Convert to cents

$2.10 = 210¢

Step 2 — Write the equations

n + d = 30 and 5n + 10d = 210

Step 3 — Substitute d = 30 − n

5n + 10(30 − n) = 210, so 300 − 5n = 210, giving −5n = −90 and n = 18.

Step 4 — Find the dimes

d = 30 − 18 = 12

Step 5 — Verify

18(5) + 12(10) = 90 + 120 = 210¢ ✓ and 18 + 12 = 30 ✓. There are 18 nickels.

2
A Different Kind of Clue

A jar contains only dimes and nickels worth $2.70 in all. There are 6 more dimes than nickels. How many coins are in the jar?

Step 1 — Define variables

Let n = nickels. Then dimes d = n + 6. Value in cents: $2.70 = 270¢.

Step 2 — Write the value equation

5n + 10(n + 6) = 270. No count is given this time. The "6 more" clue replaces it.

Step 3 — Solve

5n + 10n + 60 = 270, so 15n = 210 and n = 14.

Step 4 — Find dimes and the total

d = 14 + 6 = 20, so the jar holds 14 + 20 = 34 coins.

Step 5 — Verify

14(5) + 20(10) = 70 + 200 = 270¢ ✓ and 20 − 14 = 6 ✓. The jar contains 34 coins.

3
Add a Third Coin

Thirty coins, all nickels, dimes, and quarters, are worth $5.00. There are twice as many dimes as nickels. How many of each coin are there?

Step 1 — Use the clue to cut down the unknowns

Let n = nickels. Dimes d = 2n. Quarters are whatever is left: q = 30 − n − 2n = 30 − 3n. Value: $5.00 = 500¢.

Step 2 — Write the value equation

5n + 10(2n) + 25(30 − 3n) = 500

Step 3 — Simplify

5n + 20n + 750 − 75n = 500, so −50n + 750 = 500, giving −50n = −250 and n = 5.

Step 4 — Find the others

d = 2(5) = 10 and q = 30 − 15 = 15.

Step 5 — Verify

Count: 5 + 10 + 15 = 30 ✓. Value: 25 + 100 + 375 = 500¢ ✓. 5 nickels, 10 dimes, and 15 quarters.

4
The Swap

Thirty coins, all dimes and nickels, are worth $2.60. A friend trades every nickel for a dime and every dime for a nickel, so the number of each kind is exchanged. What is the new total value?

Step 1 — Find the original counts

From the main problem: 8 nickels and 22 dimes.

Step 2 — Apply the swap

After the exchange, there are 22 nickels and 8 dimes. The total is still 30 coins.

Step 3 — Compute the new value

22 × 5¢ = 110¢ and 8 × 10¢ = 80¢, so the new total is 110 + 80 = 190¢.

Step 4 — A shortcut check

Pair each original coin count with its swapped partner: the original and new values together equal 8(5 + 10) + 22(10 + 5) = 30 × 15 = 450¢. Therefore the new value is 450 − 260 = 190¢.

Step 5 — Verify

Both routes give 190¢. The new total is $1.90.

Where This Leads

With two coin types, the problem is a system of two equations. With three or more types, you need additional relationships between the counts, which turns it into a larger system and eventually into matrix methods. The averaging idea from Method 3 leads directly to weighted averages and to chemical mixture problems, where "coins" become liters of solution at different concentrations. Here is a question to think about: if all 30 coins are dimes, nickels, and pennies and worth $2.60, how many solutions exist? Is there still a unique answer?

Frequently Asked Questions

Let one variable stand for the number of each coin type, then write two equations: one for the total number of coins and one for the total value (in cents). Substitute one equation into the other to solve. In this example, with 30 coins worth 260 cents made of dimes (d) and nickels (n), the equations are n + d = 30 and 5n + 10d = 260. Substituting d = 30 − n gives 5n + 300 − 10n = 260, so n = 8 nickels and d = 22 dimes.
Coin values (5, 10, 25) are whole numbers of cents, so working in cents keeps every term in the equation in the same unit and avoids decimals. Mixing dollars with cents is the most common error in this problem type. In this example, $2.60 becomes 260 cents, which lets you write 5n + 10d = 260 instead of 0.05n + 0.10d = 2.60.
Yes. Use the "assume all one coin" method: pretend every coin is the more valuable type, find the excess, and divide by the difference in coin values. In this example, 30 dimes would be worth 300 cents, which is 40 cents too much. Replacing a dime with a nickel lowers the total by 5 cents, so 40 ÷ 5 = 8 dimes must be swapped for nickels, giving 8 nickels and 22 dimes.
NJ
Neven Jurkovic, PhD

Professor of Computer Science, Palo Alto College, Alamo Colleges District, San Antonio, TX

Developer of Algebrator

Contact

This solution was prepared with AI assistance and reviewed by Dr. Jurkovic for mathematical accuracy and pedagogical clarity.

2026-06-11