What this calculator does
Count U.S. bills and coins and calculate the total cash amount.
How it works
The calculator evaluates total = Σ(denomination × count). Inputs are checked before calculation, and invalid values such as zero denominators or out-of-range selections produce a clear error instead of a misleading result.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
10-
?hundreds=$100 billsNumber · Required · Default: 1
-
?fifties=$50 billsNumber · Required · Default: 0
-
?twenties=$20 billsNumber · Required · Default: 3
-
?tens=$10 billsNumber · Required · Default: 2
-
?fives=$5 billsNumber · Required · Default: 1
-
?ones=$1 billsNumber · Required · Default: 7
-
?quarters=QuartersNumber · Required · Default: 8
-
?dimes=DimesNumber · Required · Default: 4
-
?nickels=NickelsNumber · Required · Default: 3
-
?pennies=PenniesNumber · Required · Default: 17
Outputs
4-
totalMoneyTotal moneyCurrency · Primary output
-
billTotalBills totalCurrency
-
coinTotalCoins totalCurrency
-
pieceCountTotal piecesWhole number
Inputs and results
The inputs are $100 bills, $50 bills, $20 bills, $10 bills, $5 bills, $1 bills, Quarters, Dimes, Nickels, Pennies. Results include Total money, Bills total, Coins total, Total pieces.