Solve the Coin Mixture Problem: Pennies, Dimes, Quarters

Coin & Money Problems 9th-10th Grade
Problem

Jack has 63 pennies, dimes, and quarters worth $6.30. If the number of dimes is three less than the number of quarters, how many of each coin does he have?

Already got the answer? Check it here

Setup:p + d + q = 63, p + 10d + 25q = 630, d = q − 3 (value in cents).

Answer: 30 pennies, 15 dimes, 18 quarters.

One-line check:30 + 15 + 18 = 63 and 30 + 150 + 450 = 630. ✓  If your numbers differ, the sections on common pitfalls and the three methods below will show where the paths diverge.

What's Really Going On Here

On the surface this is a coin puzzle. Underneath, it is a lesson in how to tame three unknowns: the problem hands you three clues, and the real skill is turning them into a chain that collapses to a single equation.

  • Separating "how many" from "how much." Every coin problem has a count equation and a value equation, and they are not the same thing.
  • Choosing a unit and sticking with it. Converting $6.30 to 630¢ up front keeps all the arithmetic in whole numbers.
  • Translating relationship phrases like "three less than" into algebra without reversing the direction.
  • Reducing three unknowns to one by substitution, a technique that scales to any number of variables.
  • Seeing the same answer from different angles: substitution, a "value gap" argument, and a step-by-step trade-up all reach the same coin counts.

Solution: Method 1 — Substitution Down to One Variable

This is the workhorse approach. We name each unknown, write one equation per clue, and use the simplest clue (dimes versus quarters) to eliminate variables one at a time.

Step 1 — Put everything in cents

Pennies, dimes, and quarters are worth 1, 10, and 25 cents. If we measure the total in dollars, we would have to carry decimals like 0.10 and 0.25 through every line. Converting once avoids that:

$6.30 = 630 cents

Step 2 — Name the unknowns

p = number of pennies
d = number of dimes
q = number of quarters

Step 3 — Write one equation per clue

The problem gives three pieces of information, and each becomes an equation:

(1) p + d + q = 63   ← how many coins
(2) p + 10d + 25q = 630  ← how much they are worth, in cents
(3) d = q − 3           ← "dimes are three less than quarters"

Notice that in equation (2) each number of coins is multiplied by that coin's value. Equation (1) simply counts coins, with no values at all.

Step 4 — Express the pennies in terms of the quarters

Equation (3) already gives d in terms of q. Put it into the count equation (1) and solve for p:

p = 63 − d − q
p = 63 − (q − 3) − q
p = 66 − 2q

Now both p and d are written using only q. Only one unknown is left.

Step 5 — Substitute into the value equation

Replace p with 66 − 2q and d with q − 3 in equation (2):

(66 − 2q) + 10(q − 3) + 25q = 630
66 − 2q + 10q − 30 + 25q = 630
36 + 33q = 630
33q = 594
q = 18

Step 6 — Work back to the other coins

d = q − 3 = 18 − 3 = 15
p = 66 − 2(18) = 66 − 36 = 30

Jack has 30 pennies, 15 dimes, and 18 quarters.

Solution: Method 2 — Value Gap Analysis

Here is a way to think that avoids the first-pass bookkeeping of three equations. Start by pretending every coin is a penny, then ask how far off the total is and which coins close the gap.

Step 1 — Find the baseline

63 pennies would be worth 63¢. The real total is 630¢, so there are 630 − 63 = 567 cents of value still unaccounted for.

Step 2 — Measure each coin's "upgrade"

Replacing a penny with a dime adds 10 − 1 = 9 cents. Replacing a penny with a quarter adds 25 − 1 = 24 cents. The extra 567¢ must come entirely from these upgrades:

9d + 24q = 567

Notice that the pennies have vanished from the equation. Their upgrade is zero, so they contribute nothing to the gap.

Step 3 — Apply the dime–quarter relationship

9(q − 3) + 24q = 567
9q − 27 + 24q = 567
33q = 594
q = 18

So d = 15, and the pennies are whatever remains: 63 − 15 − 18 = 30.

Why this works: The gap method eliminates one variable before any substitution, because the count equation is baked into the "everything starts as a penny" assumption. Same destination, shorter road.

Solution: Method 3 — The Trade-Up Table

This one needs no algebra at all, just patience and a pattern. Once the dime–quarter rule is fixed, the number of quarters determines everything. So build the possibilities, starting from the smallest legal case.

The fewest quarters possible is 3, because dimes cannot be negative (d = q − 3 ≥ 0). With q = 3 we get d = 0, and the remaining 63 − 3 = 60 coins are pennies. Each additional quarter forces one more dime and removes two pennies, since the total stays at 63.

QuartersDimesPenniesTotal value (¢)Change
3060135—
4158168+33
5256201+33
6354234+33
…………+33
181530630+33

Every step adds exactly 25 + 10 − 2 = 33 cents: a quarter, a dime, and two fewer pennies. We start at 135¢ and need 630¢, a shortfall of 630 − 135 = 495. Dividing by the 33¢ per step:

495 ÷ 33 = 15 steps
q = 3 + 15 = 18

This table is secretly a picture of the equation value = 36 + 33q from Method 1: the 33 is the per-step change, and the table is that straight line written out in numbers.

The Answer

Pennies: 30
Dimes: 15
Quarters: 18

Jack has 63 coins in total, worth $6.30.

Verification

Test the answer against all three original clues, not just the one you solved last.

Clue 1 — coin count:30 + 15 + 18 = 63 ✓

Clue 2 — total value:30(1) + 15(10) + 18(25) = 30 + 150 + 450 = 630 cents = $6.30 ✓

Clue 3 — dimes versus quarters:18 − 3 = 15 ✓

A second, independent check uses the idea of balance. The average coin is worth 630 ÷ 63 = 10¢, exactly one dime. So the pennies' shortfall below 10¢ must cancel the quarters' surplus above it:

Pennies: 30 × (10 − 1) = 270 below average
Quarters: 18 × (25 − 10) = 270 above average
Dimes: 15 × 0 = 0

The two amounts match, so the answer passes without using any of the equations from the solution.

Does This Seem Reasonable?

Before any algebra, we can bracket the answer. If all 63 coins were pennies, the total would be 63¢, and if all were quarters it would be $15.75. The actual $6.30 sits in between, so a mix is required. The average value per coin (10¢) tells us the pennies and quarters should roughly offset each other, with dimes sitting at the center.

Since the average coin is worth 10¢ and a quarter is 15¢ above that while a penny is only 9¢ below, we expect more pennies than quarters. That is what we found (30 versus 18). If your answer had more quarters than pennies, the total would overshoot 630¢, which is a quick red flag.

What Trips People Up

✗ p + 10d + 25q = 6.30

Mixed units. The coefficients 10 and 25 are in cents, but 6.30 is in dollars. The equation is off by a factor of 100. Either convert the total to 630 or write the coefficients as 0.01, 0.10, and 0.25. Pick one unit and keep it everywhere.

✗ d = q + 3

Reversing "less than." "Dimes are three less than quarters" means dimes are the smaller group, so d = q − 3. The words arrive in the order dimes … quarters, but the subtraction runs the opposite way. A quick test: plug in your final answer and ask whether the dimes really are fewer than the quarters.

✗ p + d + q = 630

Using the value where the count belongs. The number 63 counts coins, while 630 measures cents. Equation (1) adds up how many coins there are, so no coin values appear in it. If a coin value (10 or 25) appears in your count equation, or a bare coefficient of 1 on every term appears in your value equation, the two have been swapped.

✗ "q = 18, done!"

Stopping at the variable you solved for. The question asks for all three coin counts. After finding q, you still need d and p, and the penny count is the one most often forgotten because it was never given a direct relationship in the problem.

If You See These Words...

This problem type is easy to recognize once you know the tells:

  • "worth" + "total number": two different totals (value and count) signal two different equations.
  • Three kinds of coin: you need three independent clues, and the third is usually a relationship like "three less than" or "twice as many."
  • A dollar amount alongside whole-number items: convert to cents first.

The structure also appears in disguise. "A theater sold 63 adult, student, and senior tickets for $630, and student tickets were three fewer than adult tickets" is the same problem, with ticket prices instead of coin values. So is any problem involving three kinds of items, a total count, a total cost, and one relationship between two of them.

The Pattern Behind This

Any coin problem with this shape (N coins in total, worth V cents, dimes k fewer than quarters) follows the same algebra. Substituting d = q − k into the count equation gives p = N + k − 2q, and the value equation becomes:

V = (N + k − 2q) + 10(q − k) + 25q
V = N − 9k + 33q

q = (V − N + 9k) ÷ 33

With our numbers: q = (630 − 63 + 27) ÷ 33 = 594 ÷ 33 = 18. ✓

Limitation: This formula is specific to the clue d = q − k. A different relationship (for example, "pennies are twice the dimes") changes the 33 and the constant. The portable lesson is the method: count equation, value equation, then substitute the relationship until one unknown remains.

More broadly, this is a system of three linear equations in three unknowns. One clear relationship (d = q − 3) lets you eliminate a variable immediately, and that is almost always the right first move.

When the Answer Isn't Whole

In most algebra topics, a messy decimal answer is perfectly normal. In coin problems, it is a warning sign. Suppose the same problem said the coins were worth $6.40 instead. The first steps are identical:

36 + 33q = 640
33q = 604
q = 604 ÷ 33 ≈ 18.3

You cannot have 18.3 quarters. When the algebra is right but the answer is not a whole number, the problem as stated has no valid solution, and the arithmetic is not at fault. Whole-number answers require that V − N + 9k be divisible by 33, which is why the original numbers (594 = 33 × 18) were chosen carefully. If you are ever unsure, a non-integer is your cue to re-read the problem for a typo before re-checking your algebra.

Extend Your Thinking

Four variations, in increasing difficulty. Try each one on paper before you open the solution.

1 Flip the Relationship
Maya has 63 pennies, dimes, and quarters worth $5.61. The number of dimes is four more than the number of quarters. How many of each coin does she have?
Step 1 — Convert and define

$5.61 = 561 cents. Let p, d, q be the numbers of pennies, dimes, and quarters.

Step 2 — Write the equations

Count: p + d + q = 63. Value: p + 10d + 25q = 561. Relationship: d = q + 4 (dimes are more this time).

Step 3 — Eliminate p

p = 63 − (q + 4) − q = 59 − 2q.

Step 4 — Solve for q

(59 − 2q) + 10(q + 4) + 25q = 561 → 99 + 33q = 561 → 33q = 462 → q = 14.

Step 5 — Find the rest

d = 14 + 4 = 18, p = 59 − 28 = 31. 31 pennies, 18 dimes, 14 quarters.

Step 6 — Verify

Count: 31 + 18 + 14 = 63 ✓. Value: 31 + 180 + 350 = 561 ✓. Dimes exceed quarters by 18 − 14 = 4 ✓.

2 A Different Clue and a Smaller Pile
Leo has 50 pennies, dimes, and quarters worth $3.86. He has twice as many dimes as quarters. How many of each coin does he have?
Step 1 — Set up in cents

$3.86 = 386 cents. Equations: p + d + q = 50, p + 10d + 25q = 386, d = 2q.

Step 2 — Eliminate p

p = 50 − 2q − q = 50 − 3q.

Step 3 — Substitute into the value equation

(50 − 3q) + 10(2q) + 25q = 386 → 50 − 3q + 20q + 25q = 386 → 50 + 42q = 386.

Step 4 — Solve

42q = 336, so q = 8. Then d = 16 and p = 50 − 24 = 26. 26 pennies, 16 dimes, 8 quarters.

Step 5 — Verify

Count: 26 + 16 + 8 = 50 ✓. Value: 26 + 160 + 200 = 386 ✓. Dimes are twice quarters: 16 = 2 × 8 ✓.

3 Add a Fourth Coin
Ana has 63 pennies, nickels, dimes, and quarters worth $4.22. The number of dimes is three less than the number of quarters, and she has twice as many nickels as dimes. How many of each coin does she have?
Step 1 — Define everything in terms of q

Let q = quarters. Then dimes d = q − 3, and nickels n = 2d = 2q − 6.

Step 2 — Use the count equation for pennies

p = 63 − d − n − q = 63 − (q − 3) − (2q − 6) − q = 72 − 4q.

Step 3 — Write the value equation (cents)

p + 5n + 10d + 25q = 422:
(72 − 4q) + 5(2q − 6) + 10(q − 3) + 25q = 422.

Step 4 — Simplify and solve

72 − 4q + 10q − 30 + 10q − 30 + 25q = 422 → 12 + 41q = 422 → 41q = 410 → q = 10.

Step 5 — Find the rest

d = 7, n = 14, p = 72 − 40 = 32. 32 pennies, 14 nickels, 7 dimes, 10 quarters.

Step 6 — Verify

Count: 32 + 14 + 7 + 10 = 63 ✓. Value: 32 + 70 + 70 + 250 = 422 ✓.

4 Remove a Clue: How Many Possibilities?
Suppose Jack's 63 pennies, dimes, and quarters are still worth $6.30, but we are no longer told anything about how the dimes and quarters compare. How many different (pennies, dimes, quarters) combinations are possible?
Step 1 — Use the value-gap equation

From Method 2, with every coin treated as a penny first: 9d + 24q = 567. Dividing by 3 gives 3d + 8q = 189. The count equation only decides how many pennies fill the rest, so p = 63 − d − q must be non-negative.

Step 2 — Find which q values give whole dimes

Solve for dimes: d = (189 − 8q) ÷ 3. Since 189 is divisible by 3, we need 8q divisible by 3. Because 8 and 3 share no factor, q itself must be a multiple of 3.

Step 3 — Apply the limits

Dimes must be non-negative: 8q ≤ 189, so q ≤ 23. The multiples of 3 up to 23 are 0, 3, 6, 9, 12, 15, 18, 21. For each, d + q = 63 − 5q/3 ≤ 63, so pennies are never negative.

Step 4 — List them

Writing (p, d, q): (0, 63, 0), (5, 55, 3), (10, 47, 6), (15, 39, 9), (20, 31, 12), (25, 23, 15), (30, 15, 18), (35, 7, 21).

Step 5 — Verify two entries

For (30, 15, 18): 30 + 150 + 450 = 630 ✓ (our original answer). For (35, 7, 21): count 35 + 7 + 21 = 63 ✓, value 35 + 70 + 525 = 630 ✓.

Conclusion

There are 8 possible combinations. Two equations cannot pin down three unknowns, so the clue d = q − 3 is exactly what narrows the 8 candidates to the single one with 15 dimes and 18 quarters.

Where This Leads

The fourth What-If points toward a rich area: Diophantine problems, where fewer clues than unknowns are available but all answers must be whole numbers. Instead of one answer, you get a family of answers, and the question becomes counting or characterizing them. Related puzzles, such as "in how many ways can you make change for a dollar?", rely on exactly the divisibility reasoning we used above. Once you are comfortable here, try those next.

Frequently Asked Questions

Write one equation for the number of coins and one for their total value in cents, then use the extra relationship given in the problem to eliminate variables until only one is left. In this problem, p + d + q = 63, p + 10d + 25q = 630, and d = q − 3. Substituting gives p = 66 − 2q, and the value equation becomes 36 + 33q = 630, so q = 18, d = 15, and p = 30.
Coins are worth 1, 5, 10, and 25 cents, which are whole numbers, so working in cents avoids decimals and prevents unit mismatches. In this example, $6.30 becomes 630 cents, and the value equation p + 10d + 25q = 630 has whole-number coefficients throughout. Mixing dollars on one side with cents on the other is one of the most common coin-problem errors.
"A is three less than B" means A = B − 3. The quantity you subtract from is the one named after "than." In this example, "the number of dimes is three less than the number of quarters" becomes d = q − 3. With 18 quarters, that gives 15 dimes, which is indeed three fewer.
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-08-14