Ratio & Scale Calculator
Simplify a ratio, scale both terms together, match a target quantity or divide a total proportionally. Keep exact quantities separate from rounded display values.
Your ratio & target
See the method ↓Enter a two-term ratio in compatible units. Choose a common factor, a target for either term or a combined total. Fractions and decimals work.
Loading calculator… If this message remains, reload the page.
HOW THE CALCULATION WORKS
Keep both terms in the same proportion
- For A = nA/dA and B = nB/dB, form nA×dB : nB×dA and divide both integers by their greatest common divisor. Zero terms reduce to 0:1 or 1:0; 0:0 is rejected.
- Scale factor = supplied multiplier, target A ÷ original A, target B ÷ original B, or combined total ÷ (A+B). Multiply BOTH original terms by that factor.
- Share A = A ÷ (A+B) × 100; share B = B ÷ (A+B) × 100. These combined-total shares differ from the A/B quotient, which is undefined when B is zero.
- Simplify reports the original quantities and their total alongside the reduced integer ratio. It does not replace the originals with the reduced pair when computing totals.
Worked example
Split 80 in ratio 3:5. Total parts = 8, scale factor = 80 ÷ 8 = 10; A = 30 and B = 50. Shares are 37.5% and 62.5%. The A/B quotient is 3/5 = 0.6, not A’s 37.5% share of the total.
Defaults and assumptions
- Simplify selected; both ratio terms blank; inactive multiplier 1; inactive target and total blank; units label; USD currency label; display precision 3 decimals.
- Every active input has a magnitude limit of 1 trillion and a text limit of 80 characters, including fractions. The parser accepts decimals, correctly grouped thousands, simple fractions and mixed numbers, with at most 40 decimal places. Calculated results can exceed the input magnitude limit.
- Ratio terms are nonnegative and cannot both be zero. A scale factor, selected target or combined total must be positive. Matching a positive target to an original zero term is rejected. Only active fields are used.
Limitations
- Convert quantities to a compatible unit before entering them. The output unit/currency label never converts a value. Ratios describing shares of a total must refer to comparable quantities.
- Two terms only. No automatic whole-item rounding, cent allocation, recipe suitability, map-unit conversion, concentration safety or physical manufacturing tolerance is established. A mathematically proportional result may still need practical adjustment.
- Rounded displayed shares may not add to exactly 100; exact shares do. Rounded currency outputs may not add to the entered total; exact quantities do.
Precision and rounding
Exact rational arithmetic (fractions), without intermediate rounding. Display precision defaults to 3 decimals; ≈ identifies rounded results and tiny nonzero values keep a sign or range indication. Currency rounds to cents for display, half-up with negative ties away from zero. Display rounding is not a billing or whole-item allocation rule. Exact fractions are retained in the steps and review download.
Sources
Use the assumptions, worked example and sources to interpret your result. Estimates do not replace professional advice.
How to use this calculator
- Enter two nonnegative ratio terms, with at least one positive term. Fractions and decimals work.
- Choose simplify, multiply by a factor, match term A, match term B or split a combined total. Enter the positive factor, target or total when shown.
- Choose an output unit label and precision. Calculate to inspect the reduced ratio, scaled quantities, shares of the total and exact values.
Common questions
Can I enter decimal or fraction ratios?
Yes. For example, 1/2 : 3/4 reduces exactly to 2:3. Both terms are cleared to a common integer pair, then reduced by their greatest common divisor.
Can one term be zero?
Yes: 0:5 reduces to 0:1. You can scale it or split a total using it, but you cannot match a positive target to that original zero term. Both terms zero are rejected.
Will changing from grams to kilograms convert the numbers?
No. This is an output label only. Convert your quantities before entering them; all values describing a combined total must use compatible units.
Will rounded money outputs always add to my total?
No. The exact split does; separately rounded displays can differ by a cent. This tool does not allocate leftover cents or whole items.
Report a problem or suggest a calculator
Found a confusing result, a missing option, or an idea for a new calculator? Send it privately to the site owner.
Opening the form loads Cloudflare Turnstile, a spam check that processes connection and device information. Privacy details.