keencalculator
  1. Home
  2. Math
  3. Ratio Calculator

Ratio Calculator

Simplify a ratio such as 12:18 to its lowest terms and split a total in that ratio, solve A:B = C:D when one of the four terms is missing, or scale a ratio up or down to a new size. Decimals are fine, and you also see the ratio as 1:n, as a decimal and as a share of the whole.

Quick examples
Your numbers stay in your browser. They are never uploaded.
Answer2:3
Missing term
—
A : B in lowest terms
2:3
As 1 : n
1:1.5
A ÷ B
0.666667
A as a share of the whole
40%
A’s share of the total
60
B’s share of the total
90
Scale factor
—

Saved setups

Save a set of inputs you reuse — your usual rate, your loan, your room sizes — and load it back in one tap.

    Your recent calculations

    Results you calculate here are kept on this device so you can come back to them.

      Also free on iPhone and Mac

      Formula

      Simplified ratio = (A ÷ GCF) : (B ÷ GCF)
      A’s share of a total = total × A ÷ (A + B); B’s share = total × B ÷ (A + B)
      A : B = C : D means A × D = B × C, so D = B × C ÷ A
      Scaled ratio = (A × k) : (B × k), where k = new A ÷ A (or new B ÷ B)

      How to use it

      1. Pick what you want to do: simplify and split, solve for a missing term, or scale.
      2. Enter the numbers you know. To solve A:B = C:D, leave the missing term empty.
      3. Read the answer, then check the simplified ratio and the other forms below it.

      Worked examples

      Simplify 12:18 and split 150 in that ratio

      Answer
      2:3
      A : B in lowest terms
      2:3
      As 1 : n
      1:1.5
      A as a share of the whole
      40%
      A’s share of the total
      60
      B’s share of the total
      90

      A 1920 × 1080 screen

      Answer
      16:9
      A ÷ B
      1.777778

      Solve 3:4 = 9:D

      Answer
      3:4 = 9:12
      Missing term
      12
      Scale factor
      3

      Solve A:5 = 12:20 for the first term

      Answer
      3:5 = 12:20
      Missing term
      3

      Scale 16:9 to a width of 1,280

      Answer
      1280:720
      Scale factor
      80

      Multiply a 2:3 ratio by 2.5

      Answer
      5:7.5
      A : B in lowest terms
      2:3

      A ratio is not a fraction of the whole

      In a 2:3 ratio there are 5 parts in total, so A is 2/5 (40%) of the whole and B is 3/5 (60%) — not 2/3. To split 150 in the ratio 2:3, each part is 150 ÷ 5 = 30, giving 60 and 90.

      Ratios with decimals

      To simplify 1.5:2.5, first multiply both sides by 10 to clear the decimals (15:25), then divide by the greatest common factor, 5, to get 3:5. The calculator does this automatically for up to six decimal places.

      A 1920 × 1080 screen simplifies to 16:9, and 1024 × 768 to 4:3.

      Solving and scaling

      A:B = C:D says the two ratios are equivalent, so cross-multiplying gives A × D = B × C. For 3:4 = 9:D, D = 4 × 9 ÷ 3 = 12. Every term on the right is 3 times the matching term on the left, and that 3 is the scale factor.

      To scale 16:9 to a width of 1,280, the factor is 1,280 ÷ 16 = 80, so the height is 9 × 80 = 720, giving 1280:720. Scaling changes the size of the numbers but never the simplified ratio.

      Questions people ask

      How do I simplify the ratio 12:18?

      Divide both sides by their greatest common factor, 6, to get 2:3.

      How do I split $150 in the ratio 2:3?

      Add the parts (2 + 3 = 5), divide the total by 5 to get $30 per part, then multiply: $60 and $90.

      How do I solve 3:4 = 9:x?

      Cross-multiply: 3 × x = 4 × 9 = 36, so x = 12.

      What is 1920:1080 as a ratio?

      16:9. Both numbers divide by 120.

      Keep exploring