Solve the Coin Mixture Problem: Pennies, Dimes, Quarters
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?
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:
Step 2 — Name the unknowns
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:
(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 − (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 + 10q − 30 + 25q = 630
36 + 33q = 630
33q = 594
q = 18
Step 6 — Work back to the other coins
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:
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
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.
| Quarters | Dimes | Pennies | Total value (¢) | Change |
|---|---|---|---|---|
| 3 | 0 | 60 | 135 | — |
| 4 | 1 | 58 | 168 | +33 |
| 5 | 2 | 56 | 201 | +33 |
| 6 | 3 | 54 | 234 | +33 |
| … | … | … | … | +33 |
| 18 | 15 | 30 | 630 | +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:
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
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:
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
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.
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.
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.
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 − 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:
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.
$5.61 = 561 cents. Let p, d, q be the numbers of pennies, dimes, and quarters.
Count: p + d + q = 63. Value: p + 10d + 25q = 561. Relationship: d = q + 4 (dimes are more this time).
p = 63 − (q + 4) − q = 59 − 2q.
(59 − 2q) + 10(q + 4) + 25q = 561 → 99 + 33q = 561 → 33q = 462 → q = 14.
d = 14 + 4 = 18, p = 59 − 28 = 31. 31 pennies, 18 dimes, 14 quarters.
Count: 31 + 18 + 14 = 63 ✓. Value: 31 + 180 + 350 = 561 ✓. Dimes exceed quarters by 18 − 14 = 4 ✓.
$3.86 = 386 cents. Equations: p + d + q = 50, p + 10d + 25q = 386, d = 2q.
p = 50 − 2q − q = 50 − 3q.
(50 − 3q) + 10(2q) + 25q = 386 → 50 − 3q + 20q + 25q = 386 → 50 + 42q = 386.
42q = 336, so q = 8. Then d = 16 and p = 50 − 24 = 26. 26 pennies, 16 dimes, 8 quarters.
Count: 26 + 16 + 8 = 50 ✓. Value: 26 + 160 + 200 = 386 ✓. Dimes are twice quarters: 16 = 2 × 8 ✓.
Let q = quarters. Then dimes d = q − 3, and nickels n = 2d = 2q − 6.
p = 63 − d − n − q = 63 − (q − 3) − (2q − 6) − q = 72 − 4q.
p + 5n + 10d + 25q = 422:(72 − 4q) + 5(2q − 6) + 10(q − 3) + 25q = 422.
72 − 4q + 10q − 30 + 10q − 30 + 25q = 422 → 12 + 41q = 422 → 41q = 410 → q = 10.
d = 7, n = 14, p = 72 − 40 = 32. 32 pennies, 14 nickels, 7 dimes, 10 quarters.
Count: 32 + 14 + 7 + 10 = 63 ✓. Value: 32 + 70 + 70 + 250 = 422 ✓.
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.
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.
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.
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).
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 ✓.
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
2026-08-14