ZU CALCULATOR
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Home / Math & General / Ratio Calculator
Math & General

Ratio Calculator

Simplify any A : B ratio to lowest whole-number terms using the Greatest Common Divisor (GCD), and calculate the A ÷ B quotient and part-to-whole percentage shares.

Developed and maintained by Muhammad Zakria • Verified Formula & Worked Examples • Editorial Policy • Disclaimer

Ratio Calculator

Enter values Calculate
Result

|

How Ratios Are Simplified Using Euclidean GCD

A ratio ($A : B$) compares the relative magnitude of two quantities measured in the same unit. To reduce any ratio to its simplest irreducible form, the Ratio Calculator applies Euclid’s algorithm to find the Greatest Common Divisor ($\text{GCD}$) of $A$ and $B$ (automatically scaling terminating decimals to integers first), and divides both terms by $\text{GCD}(A, B)$:

$$A : B = \left(\frac{A}{\text{GCD}(A, B)}\right) : \left(\frac{B}{\text{GCD}(A, B)}\right), \qquad \text{Unit Rate (A per 1 B)} = \frac{A}{B}$$

Because many practical problems require splitting a total pool of $A + B$ according to the ratio $A : B$, the calculator also computes the exact part-to-whole percentage shares:

$$\text{Share A (\%)} = \left(\frac{A}{A + B}\right) \times 100, \qquad \text{Share B (\%)} = \left(\frac{B}{A + B}\right) \times 100$$

Worked Example: Simplifying a 1920 × 1080 Screen Aspect Ratio

Suppose you want to find the aspect ratio of a Full HD 1920 × 1080 display:

  • Greatest Common Divisor ($\text{GCD}$): $\text{GCD}(1920, 1080) = \mathbf{120}$.
  • Simplified Ratio ($A : B$): $(1920 \div 120) : (1080 \div 120) = \mathbf{16 : 9}$.
  • A to B Quotient ($A \div B$): $1920 \div 1080 = \mathbf{1.7778}$ ($1.78 : 1$ widescreen).
  • Part-to-Whole Shares: Out of $16 + 9 = 25$ total parts, $A$ represents $\mathbf{64.00\%}$ and $B$ represents $\mathbf{36.00\%}$.

Part-to-Part Ratios vs. Part-to-Whole Fractions

The most common mistake in mixture and recipe calculations is confusing a part-to-part ratio with a part-to-whole fraction. A $1 : 4$ concentrate-to-water dilution ratio means $1\text{ part concentrate}$ mixed with $4\text{ parts water}$, which equals $1 + 4 = \mathbf{5\text{ total parts}}$. Therefore, the concentrate is $\frac{1}{5} = \mathbf{20\%}$ of the total solution—not $\frac{1}{4}$ ($25\%$). For exact rational arithmetic ($+$, $-$, $\times$, $\div$) between two fractions, use our Fraction Calculator, or batch concrete mix proportions in the Cement Calculator.

Scaling Recipes, Map Scales, and Aspect Ratios with GCD

Reducing a ratio A : B to its simplest integer terms via Euclid's Greatest Common Divisor (GCD) algorithm makes proportional scaling effortless across engineering, digital media, and culinary arts. For example, a 3840 : 2160 4K Ultra-HD monitor resolution has a GCD of 240; dividing both dimensions by 240 reveals the familiar 16 : 9 widescreen aspect ratio (unit rate 1.7778 : 1). Similarly, a concrete mix calling for 150 lb cement : 450 lb aggregate simplifies via GCD = 150 to a 1 : 3 mix ratio, where cement represents 1 ÷ (1 + 3) = 25% of the dry blend and aggregate represents 75%. Explore related proportional math in our Fraction Calculator and Cement Mix Calculator.

Frequently asked questions

How do I divide a total dollar amount or weight (like 500 g) in a ratio of A : B?
Look at the "Part-to-whole shares" row in the result box, or divide your total by the sum of the simplified ratio parts (A + B) to find the value of 1 part. For example, to split 500 g in a 2 : 3 ratio (5 total parts), each part is 500 ÷ 5 = 100 g, giving 200 g (40%) and 300 g (60%).
Can I enter decimal numbers like 1.5 : 4.5 into the Ratio Calculator?
Yes. The calculator automatically scales decimal terms by powers of 10 to clear the decimals (1.5 : 4.5 → 15 : 45), computes the integer GCD, and outputs the simplified whole-number ratio (1 : 3) along with the decimal GCD (1.5).
How do I solve for a missing number X in an equivalent proportion A : B = C : X?
Use cross-multiplication: since A / B = C / X, then A × X = B × C. Solve for the unknown term by dividing the cross-product by the remaining known term: X = (B × C) ÷ A.
Why must both terms of a physical ratio use the same measurement unit?
A ratio is dimensionless only when both terms share the same unit. Comparing 2 feet to 6 inches as "2 : 6" is incorrect because feet and inches are different units; convert 2 feet to 24 inches first so the true physical ratio is 24 : 6 = 4 : 1.
Developed and maintained by Muhammad Zakria. Calculations are informational estimates based on standard formulas. Creator Profile • Editorial Policy • Disclaimer • Report an Issue