Ratio Calculator
MathSimplify ratios, find missing values in A:B = C:D, and split totals by ratio. Free online ratio calculator for students and professionals.
A ÷ B (Ratio)
What is a Ratio?
A Ratio Calculator simplifies any ratio A:B to its lowest terms, computes the percentage share of each term in the combined total, and splits any given total in the exact ratio specified. These three operations together cover every practical ratio problem — from verifying a recipe scale-up to splitting a business investment or checking a map scale.
A ratio is the comparison of two quantities by division: the ratio A:B tells you how A and B relate in size. Unlike fractions, ratios emphasise the relative proportion of two distinct quantities rather than one being a part of another. A partnership that splits profits in a 3:4 ratio means the first partner receives 3 parts for every 4 parts the second partner receives — for a combined pool of ₹7 lakh, that translates to ₹3 lakh and ₹4 lakh.
The fundamental operation that unlocks all ratio problems is the GCD — Greatest Common Divisor. Dividing both terms of a ratio by their GCD gives the simplest form: 12:18 simplifies to 2:3 (GCD = 6), and 1.5:2.5 simplifies to 3:5 (multiply by 2, GCD of 30 and 50 = 10). The step breakdown on this calculator shows this simplification explicitly, making it directly usable for CBSE/ICSE homework where the working must be shown.
The Scale To Total field is the most practically useful feature: enter the total amount you want to distribute (say, ₹7,00,000 for a partnership, or 100 for converting to percentages) and the calculator immediately returns each party's share. This covers the most common ratio application in Indian finance — splitting profits, losses, inheritance, and joint investments.
For comparisons between two datasets, the Percentage Change Calculator expresses a ratio as relative change, while this calculator expresses it as a fixed proportion.
How to use this Ratio calculator
Enter Value A — the first term of the ratio. Can be any positive number, including decimals. For a 3:4 split, enter 3. For a financial ratio like P/E of 24.5, enter 24.5.
Enter Value B — the second term. Must also be positive. The ratio A:B compares A to B directly; the order matters (3:4 and 4:3 are different ratios).
Enter Scale To Total — the total quantity you want to split in this ratio. Default is 700 (so a 3:4 split gives 300 and 400 for easy verification). For partnership splits, enter the profit or loss amount. For percentage conversion, enter 100 (gives direct percentage shares). For a 1,000 ml solution split, enter 1000.
Read A ÷ B and the percentage splits — the decimal ratio and percentage-of-total outputs give a complete picture of the proportion.
Expand the step breakdown — the GCD computation and simplified ratio are shown explicitly. For 12:16, you'll see GCD = 4 → simplified ratio = 3:4. This is the working required in school examinations.
Formula & Methodology
Ratio Decimal: A ÷ B A as % of Total: (A ÷ (A + B)) × 100 B as % of Total: (B ÷ (A + B)) × 100 A's Share (of Scale To Total T): (A ÷ (A + B)) × T B's Share (of Scale To Total T): (B ÷ (A + B)) × T Simplified Ratio (shown in steps): Divide both terms by GCD(A, B): Simplified = (A ÷ GCD) : (B ÷ GCD) GCD for decimal inputs (up to 2 decimal places): GCD(A, B) is computed on integers A × 100 and B × 100, then the simplified integers are divided back by 100 if needed — so 1.5:2.5 → GCD(150, 250) = 50 → 3:5 Worked example — A = 5, B = 8, Scale To Total = ₹2,60,000: GCD(5, 8) = 1 → already in simplest form 5:8A as % of Total = (5 ÷ 13) × 100 = 38.46%B as % of Total = (8 ÷ 13) × 100 = 61.54%A's Share = 38.46% × 2,60,000 = ₹1,00,000B's Share = 61.54% × 2,60,000 = ₹1,60,000 Worked example — simplification — A = 24, B = 36, Scale To Total = 100: GCD(24, 36) = 12 → Simplified ratio = 2:3A as % of Total = (24 ÷ 60) × 100 = 40%B as % of Total = (36 ÷ 60) × 100 = 60%A's Share of 100 = 40 | B's Share = 60 Assumptions and limitations: - Both A and B must be positive. Zero or negative ratios are not meaningful for proportion calculations - Scale To Total of 0 gives shares of 0 — enter a positive value to see shares - All outputs are rounded to 2–4 decimal places depending on the output type; the Average Calculator can be used to compute the mean of a series of ratios