Skip to content
FiftyCalc Free calculators for all 50 states

Change Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Type what the customer owes and what they paid. You get the change due and how to count it out with the fewest bills and coins.

Result

Sample figures

Change due ($; negative = still owed)—

$100 bills —

  • $50 bills—
  • $20 bills—
  • $10 bills—
  • $5 bills—
  • $1 bills—
  • Quarters (25¢)—
  • Dimes (10¢)—
  • Nickels (5¢)—
  • Pennies (1¢)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Change Calculator

Amount due, in dollars: enter 0 or more. Prefilled example: 37.42.

Cash received, in dollars: enter 0 or more. Prefilled example: 50.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Amount due, in dollars: enter 0 or more.
  2. Cash received, in dollars: enter 0 or more.
  3. Read the result: Change due ($; negative = still owed); the panel also shows $100 bills, $50 bills, $20 bills, $10 bills, $5 bills, $1 bills, Quarters (25¢), Dimes (10¢), Nickels (5¢) and Pennies (1¢).

How this calculator works

Change = cash received − amount due, worked in whole cents so that no rounding error creeps in.

The breakdown is the greedy method: take as many of the largest bill as fit, then move to the next one down, ending with pennies. With US denominations ($100, $50, $20, $10, $5, $1, 25¢, 10¢, 5¢, 1¢) this gives the fewest pieces.

$2 bills, half dollars and dollar coins are left out of the breakdown. A negative result means the customer has not paid enough; the breakdown then shows zero.

The formula

  1. C=round⁡((p−due)×100)
  2. Ch=C100
Symbols used in the formula
SymbolMeaningUnit
dueAmount due$
pCash received$
CResult of step 1
ChChange due (negative = still owed)$
round(x, d)x rounded to d decimal places, or to a whole number without d.

Worked example

Amount due$37.42
Cash received$50
$100 bills0
$50 bills0
$20 bills0
$10 bills1
$5 bills0
$1 bills2
Quarters (25¢)2
Dimes (10¢)0
Nickels (5¢)1
Pennies (1¢)3
  1. C=round⁡((50−37.42)×100)=1,258
  2. Ch=1,258100=12.58

Change due ($; negative = still owed) $12.58

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How do I count back change?

Start from the amount due and add coins, then bills, until you reach the cash received. For $37.42 paid with $50, count 3 pennies to $37.45, a nickel to $37.50, 2 quarters to $38, 2 ones to $40 and a ten to $50.

What if the store rounds cash totals?

Enter the rounded total as the amount due; the breakdown then works from that figure.

Related calculators