Unit Rate Calculator
Divide any total amount by a total quantity to find the rate per one unit, with support for custom labels such as dollars per gallon or words per minute. Multiple rows allow side-by-side ranking so the lowest rate stands out immediately.
This tool sends nothing over the network. Everything you enter is processed on your device and never reaches our servers.
Documentation
A unit rate calculator divides a total amount by a total quantity to find how much of the amount corresponds to exactly one unit of the quantity. Both sides can be labeled with any term that fits the scenario, such as dollars and gallons, calories and servings, or miles and hours. Multiple rows compare rates across different items or scenarios and identify the lowest or highest rate at a glance.
- An Item Name identifies each entry; it is optional but helpful when comparing several rows.
- The Total Amount accepts decimals (12.50), fractions (25/2), mixed numbers (12 1/2), values with dollar signs ($12.50), values with commas (1,250.00), and scientific notation (1.25e1). Its Amount Label describes what the amount measures; the default is dollars, but any term works, such as calories, miles, words, liters, or points.
- The Total Quantity accepts the same flexible formats: decimals, fractions (3/4), mixed numbers (5 1/2), or scientific notation (2e3). Its Quantity Label describes the unit of quantity; the default is items, but common alternatives include gallons, hours, minutes, servings, or pages.
Adding rows allows side-by-side comparison. When two or more rows share matching quantity labels, a comparison ranks them from lowest to highest unit rate. Settings hold decimal-place precision and a step-by-step formula view that reveals the division behind each result.
The core formula is Unit Rate = Total Amount / Total Quantity. The inverse rate reverses the division: Inverse Rate = Total Quantity / Total Amount. Both reduce a ratio to its per-one-unit equivalent: 150 miles over 3 hours yields 50 miles per hour, while the inverse gives 0.02 hours per mile. Entering the same values with labels such as dollars and pounds instead converts the result into a price-per-weight comparison. Whichever pair of labels is used, the two rates answer opposite questions: one states how much amount a single unit of quantity gets, the other states how much quantity a single unit of amount buys, and either can be the more useful reading depending on which side of the ratio is fixed in the real decision.
A lower amount-per-unit rate only means a better deal when the amount and quantity mean the same thing in every row being compared. Mixing a tax-included total with a pre-tax total, or a package weight with a serving count, produces rates that look comparable but are not, which is why the ranking only groups rows that share the same quantity label.
Comparing rates per unit applies across grocery shopping, fitness tracking, manufacturing, education, and everyday decision-making. Any situation where a total divides by a count benefits from seeing the per-unit breakdown.
- Grocery Shopping: Enter the shelf price and package weight for two brands of rice to find the cost per ounce and identify the better deal without mental math.
- Fuel Efficiency: Record miles driven and gallons consumed on a road trip to find miles per gallon. Compare across fill-ups to track changes in fuel economy over time.
- Freelance Billing: Divide project revenue by hours worked to find an effective hourly rate. Add rows for different projects and rank them to see which client pays the highest per-hour rate.
- Nutrition Planning: Enter total calories and number of servings for a recipe to find calories per serving. Adjust the batch size and recalculate to keep portions within a target range.
- Manufacturing: Divide total production cost by units produced to find cost per unit. Compare product lines side by side to identify which items carry the highest marginal cost.
- Education: Enter total pages read and total minutes spent to find a reading speed in pages per minute. Track the metric over several sessions to measure improvement.
- Shipping Logistics: Divide total shipping cost by number of packages to find cost per package. Compare carrier quotes by entering each as a separate row and ranking the per-package rate.
- Content Production: Enter total words written and hours spent to calculate words per hour. Compare drafting sessions to find which writing conditions produce the highest output rate.
Inputs, outputs, and what the Unit Rate Calculator computes
What the Unit Rate Calculator asks for and what it returns, as a plain list. Defaults, units, and ranges are the ones the form loads with.
Inputs
- Decimal Places (text input) · default: 4
- Show step-by-step formulas · default: off
Controls
Calculate · Reset