Coin Mixture: Find Number of Dimes and Quarters
Joaquín has 31 coins in his pocket, all of which are dimes and quarters. If the total value of his change is 535 cents, how many dimes and how many quarters does he have?
Already Got the Answer? Check Here
- Setup:
d + q = 31(count) and10d + 25q = 535(value in cents) - Result: 16 dimes and 15 quarters
- One-line check:
16(10) + 15(25) = 160 + 375 = 535✓ and16 + 15 = 31✓
If your numbers match, skip ahead to the three different methods and the "What If?" problems. They are where this page earns its keep.
What You Will Learn
- Counts and values are different quantities. The 31 counts coins; the 535 counts cents. Keeping them in separate equations is the central skill of every coin problem.
- How to build a value equation by multiplying each coin's worth by how many of that coin there are, with every term in the same unit.
- Substitution as a tool for collapsing two unknowns into one.
- The "swap" idea. Replacing one cheap coin with one expensive coin changes the total by a fixed amount, and that single observation can solve the whole problem without a system of equations.
- Why integer answers are expected, and how that can tell you instantly whether a coin problem is even possible.
Solution: Method 1 — The Two-Equation System (Substitution)
Two things are known about Joaquín's pocket: how many coins there are, and how much they are worth. Those are two separate facts, so they become two separate equations. This is the standard classroom route, and the one to master first.
Step 1 — Name the unknowns
We want two numbers, so we give each a letter:
Step 2 — Write the coin-count equation
Every coin in the pocket is either a dime or a quarter, and there are 31 coins altogether:
Notice that this equation says nothing about money. It only counts coins.
Step 3 — Write the value equation (in cents)
A dime is worth 10 cents and a quarter is worth 25 cents. The money from the dimes is 10·d, the money from the quarters is 25·q, and together they total 535 cents:
Because the total was given in cents, we use 10 and 25 rather than 0.10 and 0.25. Working in cents keeps every number a whole number.
Step 4 — Eliminate one variable by substitution
From the count equation, d = 31 − q. Wherever d appears in the value equation, we replace it with 31 − q:
The 15 multiplying q is 25 − 10, the difference between the coin values. That number will return in Method 2.
Step 5 — Back-substitute to find the dimes
So Joaquín has 16 dimes and 15 quarters.
Solution: Method 2 — The "Everything Is a Dime" Swap Method
This method needs no variables. It works by starting from a deliberately wrong picture and then correcting it.
Step 1 — Imagine the cheapest possible pocket
Suppose all 31 coins were dimes. Their value would be:
Step 2 — Measure the shortfall
The real pocket holds 535 cents, so our imaginary pocket is short by:
Step 3 — Ask what one swap does
Each time we replace a dime with a quarter, the number of coins stays at 31, but the value rises by 25 − 10 = 15 cents. Every quarter in the real pocket is one such swap.
Step 4 — Count the swaps
The remaining coins are still dimes: 31 − 15 = 16.
Same math, different clothing. Compare Step 4 of Method 1 (310 + 15q = 535) with this method: 310 is the "all dimes" value, 15 is the gain per swap, and 535 is the target. Method 2 is Method 1 with the algebra read out loud in plain English.
Solution: Method 3 — Guess, Adjust, and Watch the Pattern
When a problem feels intimidating, an organized table is a legitimate strategy, and it often reveals the structure faster than symbols do. A good first guess can come from the average value per coin:
The average sits between 10 and 25, so the pocket has both coin types. It is a bit closer to 10 than to 25 (the midpoint is 17.5), so we expect slightly more dimes than quarters, with the two counts close to each other. Start the table near 15 quarters and walk through it:
| Quarters (q) | Dimes (31 − q) | Quarter cents | Dime cents | Total | vs. 535 |
|---|---|---|---|---|---|
| 12 | 19 | 300 | 190 | 490 | too low |
| 13 | 18 | 325 | 180 | 505 | too low |
| 14 | 17 | 350 | 170 | 520 | too low |
| 15 | 16 | 375 | 160 | 535 | exact ✓ |
| 16 | 15 | 400 | 150 | 550 | too high |
Look at the Total column: 490, 505, 520, 535, 550. It climbs by exactly 15 each row. That is the swap effect from Method 2, now visible in the numbers. Once you spot it, you do not need to guess at all. You can jump straight from any row to the target by dividing the gap by 15.
Joaquín has 16 dimes and 15 quarters (16 + 15 = 31 coins, worth 160 + 375 = 535 cents).
Verification
Always check against both original facts, not just one, because a wrong answer can easily satisfy one equation while breaking the other.
Coin count:16 + 15 = 31 ✓
Value:16 × 10 + 15 × 25 = 160 + 375 = 535 cents ✓
Independent check by a different route: the "all dimes" method and the table both landed on 15 quarters without using the substitution step, so three separate routes agree.
Sanity Check: Does 16 and 15 Feel Right?
Before any algebra, you can bracket the answer. If all 31 coins were dimes, the pocket would hold 310 cents; if all were quarters, 775 cents. The actual total, 535, lies between those extremes, so both coin types must be present.
| Scenario | Coins | Total value |
|---|---|---|
| All dimes | 31 | 310¢ |
| Joaquín's pocket | 31 | 535¢ |
| All quarters | 31 | 775¢ |
Where does 535 fall? It is 225 above the bottom of a 465-cent range, which is about 48%. And 15/31 ≈ 48% of the coins are quarters. The position of the total in the range is the fraction of quarters. That is a handy estimating trick.
What Trips People Up
The totals have been attached to the wrong equations. The number 31 is a count of coins, so it goes with the equation that adds d and q. The number 535 is a value in cents, so it goes with the equation that has the 10 and 25. A quick test: if a coefficient like 10 or 25 appears, the right side must be money.
This mixes dollars and cents. The dimes are measured in dollars (0.10) while the quarters and total are in cents. Pick one unit and stay with it: either 10d + 25q = 535 or 0.10d + 0.25q = 5.35. Both are correct and give the same answer. This single slip is the most common reason students get decimals like 1,200 dimes.
The question asks for both coin counts. After solving for one variable, always finish by finding the other (d = 31 − 15 = 16), and say which is which in a sentence. It is also easy to swap them at the very end, so reread what d and q stood for before you write the answer.
The average value per coin is a useful clue, but it is not the answer. Averages describe the mixture as a whole; they do not directly give the counts. Splitting the coins evenly would give a total of 15.5 × 35 = 542.5, which is not even a valid whole-coin amount. Use the average to estimate (as in Method 3), then finish with an equation or a swap count.
How to Spot This Problem Type
Coin problems can be dressed in many costumes, but they share one skeleton. Look for:
- Two kinds of items with different unit values (coins, tickets, stamps, bills).
- A total count ("31 coins", "200 tickets sold") anda total value ("535 cents", "$1,450 in receipts").
- The question asks how many of each.
The same structure appears here, wearing a different outfit: "A theater sold 120 tickets, adult tickets at $8 and child tickets at $5, for $795. How many of each?" The setup is a + c = 120 and 8a + 5c = 795, and the "all child tickets" baseline gives 600, a gap of 195, divided by 3 per swap, so 65 adult and 55 child tickets.
The Pattern Behind This
Suppose there are N items in total, the cheap item is worth a, the expensive one is worth b, and the grand total is V. The swap method gives a formula that works for any such problem:
Here: (535 − 10·31) ÷ (25 − 10) = 225 ÷ 15 = 15 quarters.
Two limits of the formula. It only handles two kinds of items (three kinds, like nickels, dimes, and quarters, need another piece of information). And the numerator must divide evenly by b − a; if it does not, no whole-number pocket exists. For dimes and quarters with 31 coins, the possible totals are exactly 310, 325, 340, …, 775. A total like 540 is impossible, which is why the problem designers had to choose 535 carefully. You will explore this in the fourth "What If?" below.
This is the same mathematics as a weighted average: the average of 17.26¢ per coin is a blend of 10¢ and 25¢, and the fraction of quarters is how far the average sits between them.
Beyond the Textbook
- Cash-register counts. A cashier who knows how many bills are in a drawer and the drawer's total can use this same logic to find how many are $5s versus $20s.
- Mixtures in chemistry and pharmacy. Replace "dime" and "quarter" with a 10% solution and a 25% solution. The "swap" is then replacing a liter of weak solution with strong, and the formula is identical.
- Budgeting and ticketing. Any time a business knows total units sold and total revenue across two price points, this is the calculation that recovers the sales mix.
Try These Variations
The four problems below change one thing at a time. Try each on paper before opening the solution.
Let d = dimes and q = quarters.
Count: d + q = 24. Value: 10d + 25q = 435.
With d = 24 − q: 10(24 − q) + 25q = 435, so 240 + 15q = 435.
15q = 195, so q = 13, and d = 24 − 13 = 11.
11 + 13 = 24 ✓ and 11(10) + 13(25) = 110 + 325 = 435 ✓. Maria has 11 dimes and 13 quarters.
Let q = quarters. "5 more dimes than quarters" means dimes d = q + 5.
10d + 25q = 470. The coin total is not given here, but the relationship replaces it.
10(q + 5) + 25q = 470, so 10q + 50 + 25q = 470, so 35q = 420.
q = 12 and d = 12 + 5 = 17.
Dimes minus quarters: 17 − 12 = 5 ✓. Value: 170 + 300 = 470 ✓. Tomás has 17 dimes and 12 quarters.
Let d = dimes. Then nickels n = 2d. Let q = quarters.
n + d + q = 30 becomes 2d + d + q = 30, so q = 30 − 3d.
5n + 10d + 25q = 420 becomes 5(2d) + 10d + 25(30 − 3d) = 420.
10d + 10d + 750 − 75d = 420, so 750 − 55d = 420, so 55d = 330 and d = 6. Then n = 12 and q = 30 − 18 = 12.
Count: 12 + 6 + 12 = 30 ✓. Value: 60 + 60 + 300 = 420 ✓. Ana has 12 nickels, 6 dimes, and 12 quarters.
With q quarters and 31 − q dimes: V = 10(31 − q) + 25q = 310 + 15q.
310 + 15q = 500 gives 15q = 190, so q = 12.67. That is not a whole number, so 500 cents is impossible.
310 + 15q = 610 gives 15q = 300, so q = 20 and d = 11. Check: 110 + 500 = 610 ✓. 610 cents is possible with 11 dimes and 20 quarters.
The quarter count q can be any whole number from 0 to 31, so V = 310 + 15q takes the values 310, 325, 340, …, 775. That is 32 possible totals. Equivalently, V is between 310 and 775 and V − 310 is a multiple of 15.
The endpoints are q = 0 → 310 and q = 31 → 775 ✓. The original total satisfies the rule: 535 − 310 = 225 = 15 × 15 ✓. 500 is impossible, 610 is possible, and the valid totals are 310 + 15q for q = 0, 1, …, 31.
Frequently Asked Questions
d + q = 31 counts the coins and 10d + 25q = 535 adds up the cents. Substituting d = 31 − q gives 310 + 15q = 535, so q = 15 quarters and d = 16 dimes.2026-05-21