Ratio Calculator

Simplify a ratio, find a missing term, scale both parts, or split a total into two or three parts. The steps use the numbers you enter.

Last updated: October 24, 2026

Tool

This tool will load here.

What this calculator does

A ratio compares parts. 12 : 18 means twelve of the first for eighteen of the second, and those parts reduce to 2 : 3. This ratio calculator keeps four jobs separate: simplify A : B (or A : B : C), find X in A : B = C : X, scale both parts by one factor, and split a total in a two-part or three-part ratio.

Simplification multiplies decimals by 10, 100, and so on until every part is an integer, then divides by the greatest common divisor. 1.5 : 2.5 is multiplied by 10 to 15 : 25, then divided by 5 to 3 : 5. The missing-term mode uses X = (B × C) ÷ A and shows a whole number when the division is exact, or a reduced fraction when it is not. 2 : 5 = 3 : X gives 15/2. A cannot be 0 in that mode. 0 : 0 is not a ratio. 0 : 4 simplifies to 0 : 1.

Scale multiplies A and B by the same factor, then simplifies that result. 2 : 3 scaled by 4 is 8 : 12, which reduces to 2 : 3. Split adds the parts, divides the total by that sum, and multiplies back by each part. 100 in 2 : 3 is 40 and 60. 150 in 1 : 2 : 3 is 25, 50, and 75. The shares stay exact. Rounding money is a separate step and can miss the total.

Reducing 12 : 18 is the same gcd step you would use on 12/18. The Fraction Calculator adds, subtracts, multiplies, and divides fractions. The GCD & LCM Calculator returns only the divisor or the multiple. The articles Fractions, ratios, and proportions and GCD vs LCM keep those jobs apart.

How to use

  1. Choose Simplify A : B, Find X in A : B = C : X, Scale by a factor, or Split a total.
  2. Enter the numbers for that mode. C is required for the missing term. C is optional for simplify and split, and it turns the ratio into three parts. Factor and Total appear only in their modes.
  3. Calculate. Example fills 12 : 18, 2 : 5 = 8 : X, scale 2 : 3 by 4, or split 100 in 2 : 3, depending on the mode.

The result names the answer. The steps underneath use the numbers you entered: the decimal scale, the divisor, each division, or the part sum and the shares.

Formula

Simplify: multiply by a power of 10 so every part is an integer, then divide by gcd of the absolute values. Signs stay with their parts.

Missing term: A : B = C : X means X = (B × C) ÷ A. The unknown is the fourth term only.

Scale: A : B multiplied by k is (k × A) : (k × B), then simplified. k cannot be 0.

Split: one part = total ÷ (A + B), or ÷ (A + B + C) when C is set. Each share is that part times its ratio number. A part sum of 0 is rejected.

Example

Simplify 12 : 18. The greatest common divisor is 6, so 12 ÷ 6 = 2 and 18 ÷ 6 = 3. The result is 2 : 3.

Simplify 1.5 : 2.5. Multiply by 10 to get 15 : 25. Divide by 5 to get 3 : 5.

Find X for 2 : 5 = 8 : X. X = (5 × 8) ÷ 2 = 20. Find X for 2 : 5 = 3 : X. X = 15/2.

Scale 2 : 3 by 4. The scaled ratio is 8 : 12, and it simplifies to 2 : 3.

Split 100 in 2 : 3. The parts sum to 5, one part is 20, and the shares are 40 and 60. Split 150 in 1 : 2 : 3. The shares are 25, 50, and 75. Simplify 18 : 24 : 30 by dividing by 6 to get 3 : 4 : 5.

12 : 18 ÷ 6 = 2 : 3
1.5 : 2.5 × 10 = 15 : 25 ÷ 5 = 3 : 5
2 : 5 = 8 : X → X = 20
2 : 3 × 4 = 8 : 12 = 2 : 3
100 in 2 : 3 = 40 and 60
18 : 24 : 30 ÷ 6 = 3 : 4 : 5

Limits

  • Numbers only. No symbolic algebra, and no fraction typed as 3/4 in a box.
  • The missing term is always X in A : B = C : X. The tool does not solve for A, B, or C.
  • Three parts are available for simplify and split. There is no three-term proportion solver.
  • Shares are exact fractions. This page does not round to cents.
  • Products that leave JavaScript’s safe integer range are rejected rather than rounded.
  • Signs are preserved. A scale factor of 0, a part sum of 0, and 0 : 0 are rejected.

To add or divide the fractions behind a ratio, open the Fraction Calculator. To see only gcd(12, 18) or lcm(12, 18), use the GCD & LCM Calculator.

On this page

Related guides

Related solutions

Need another tool ?

Open the free tools — no signup.

FAQs

Innovative Solutions For Modern Needs
Copyright © 2026 Yallasolve. all rights reserved.