Ratio Calculator

A ratio calculator is a simple online tool that helps you compare two or more quantities and find missing values in a ratio. Instead of working out proportions by hand, you enter the numbers you know, and the calculator instantly gives you the answer.

Live Ratio Preview
3 : 5
A
B

Widgets

Quick interactive ratio calculators — solve proportions, scale values, and simplify ratios.

Proportion Solver

Provide any three values below to calculate the fourth in the ratio A : B = C : D.

:
=
:
Solved Proportion
—
Simplified
—
Percentages
—
Decimal
—
Fraction
—
Visual Ratio
A
B
Part A: —
Part B: —

    Scale Multiplier

    Scale a ratio up or down by a multiplier.

    :
    Scaled Ratio
    —
    Original
    —
    Factor
    —
    Percentages
    —
    Simplified
    —
    Visual Ratio
    A
    B

      Simplifier

      Reduce any ratio to its simplest form.

      :
      Simplified Ratio
      —
      GCD Used
      —
      Percentages
      —
      Decimal
      —
      Fraction
      —
      Visual Ratio
      A
      B
      Part A: —
      Part B: —

        🕐 Recent Calculations

        📭
        No calculations yet. Start computing above!

        What is Ratio?

        A ratio is a way of comparing two or more quantities to show how much of one there is compared to another. It tells you the relationship between numbers rather than their actual size.

        Ratios are usually written with a colon, like 2:3, but they can also be shown as a fraction (2/3) or with the word "to" (2 to 3). For example, if a class has 10 boys and 15 girls, the ratio of boys to girls is 10:15, which simplifies to 2:3. That means for every 2 boys, there are 3 girls.

        The key idea is that ratios compare quantities of the same kind, and the order matters. Writing 2:3 is not the same as 3:2.

        Interactive Parts-to-Whole Diagram
        Click each segment to see its proportion
        A A B B B
        Ratio 2 : 3 — A is 40% of the total, B is 60%

        Ratio Formula

        The basic formula for comparing two quantities is:

        Ratio = a : b (or a ÷ b )

        Here a is the first quantity and b is the second. Both must be in the same unit.

        To simplify: divide both numbers by their greatest common factor.
        Example: 12:18 ÷ 6 = 2:3

        Proportion: when two ratios are equal → a : b = c : d, meaning a × d = b × c
        Example: 3:4 = 9:x → 3x = 36 → x = 12

        Ratio to percentage: (a ÷ b) × 100

        Splitting a total by ratio: add the parts first, then multiply.
        Example: $200 in a 3:2 ratio → 200 × 3/5 = $120 and 200 × 2/5 = $80

        Cross-Multiplication Visualizer
        A
        :
        B
        =
        C
        :
        X
        A × X = B × C → X = (B × C) / A

        How to Use This Calculator

        To use this Ratio Calculator, follow 3 steps:

        1

        Enter Values

        Type the known ratio values into the input fields. Leave one field empty — that is the unknown value the Ratio Calculator solves.

        2

        Choose Mode

        Select the ratio mode — Solve, Simplify, or Scale. Each mode applies different equations to your input values.

        3

        Get Results

        Click Calculate. The result screen displays the answer with a visual ratio bar, pie chart, and step-by-step solution breakdown.

        How This Calculator Works

        Using the ratio calculator takes just a few seconds.

        Input Known values Unknown Leave blank Calculate Cross-multiply Result Answer & steps
        • •
          Enter your known values. Type the numbers you already have into the input boxes — for example, 3 and 4 in the first ratio, and 9 in the second.
        • •
          Leave the unknown blank. The field you want solved stays empty. The calculator treats it as the missing value.
        • •
          Click Calculate. Hit the button, and the calculator solves for the missing number right away.
        • •
          Review the step-by-step breakdown. Below the answer, you'll see the cross-multiplication formula written out so you can follow how the result was reached.

        The calculator also works for simplifying ratios — just enter two numbers, and it reduces them to their lowest terms using the greatest common factor.

        Formula & Equations Used

        Behind the calculator are a handful of core mathematical rules. Here are the ones used most often:

        • •
          Ratio definition
          a : b = a / b
        • •
          Simplifying a ratio
          a : b = (a / GCD) : (b / GCD)
          Where GCD is the greatest common divisor of a and b.
        • •
          The proportion formula (cross-multiplication)
          a / b = c / d ⟹ a × d = b × c

          From that single identity, you can find any one variable if you have the other three:

          a = (b × c) ÷ d
          b = (a × d) ÷ c
          c = (a × d) ÷ b
          d = (b × c) ÷ a
        • •
          Ratio to fraction
          Part A as a fraction of the whole = a / (a + b)
        • •
          Ratio to percentage
          Percentage of Part A = [a / (a + b)] × 100
        • •
          Scaling up or down
          To scale a ratio by factor k: a : b ⟹ (a × k) : (b × k)
        • •
          Dividing an amount into a ratio
          Share A = Total × [a / (a + b)], Share B = Total × [b / (a + b)]

        Example Problems & Step-by-Step Solutions

        Here are 3 example problems with step-by-step solutions using this Ratio Calculator:

        Input 1 Solve for X in 3 : 5 = 9 : X
        1 Write the proportion: 3/5 = 9/X
        2 Cross-multiply: 3 × X = 5 × 9
        3 Calculate: 3X = 45
        4 Divide both sides by 3: X = 45 ÷ 3
        ✓ X = 15 → The ratio is 3 : 5 = 9 : 15
        Input 2 Simplify the ratio 48 : 36
        1 Find the GCD of 48 and 36
        2 Factors of 48: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48
        3 Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36
        4 GCD = 12
        5 Divide: 48/12 : 36/12
        ✓ Simplified ratio = 4 : 3
        Input 3 Scale 2 : 7 by a factor of 6
        1 Multiply first term: 2 × 6 = 12
        2 Multiply second term: 7 × 6 = 42
        ✓ Scaled ratio = 12 : 42 (equivalent to 2 : 7)

        Ratio Scaling Calculator

        A ratio scaling calculator lets you enlarge or reduce a ratio while keeping the proportion exactly the same. You change the size of the numbers, not the relationship between them.

        :
        →
        Scaled Ratio 6 : 15
        A
        B
        The proportion stays constant regardless of scale factor

        Aspect Ratio Calculator

        An aspect ratio calculator works out the relationship between the width and height of an image, video, or screen — and helps you resize it without stretching or squashing the picture.

        Aspect ratio describes the proportional relationship between width and height. It is widely used in photography, videography, monitors, and UI design.

        Golden Ratio Calculator

        A golden ratio calculator works out proportions based on the number phi (φ), which is approximately 1.618. It's used to divide a length into two parts that feel naturally balanced to the eye.

        The golden ratio appears in architecture, art composition, logo design, and natural patterns (shell spirals, flower petals, leaf arrangements).

        Percentage to Ratio

        Converting a percentage into a ratio shows the same information in a different form. A percentage always compares something to 100, while a ratio compares quantities directly to each other. Both describe the same relationship — you're simply changing how it's expressed.

        Evaluate Equivalent Ratios

        Equivalent ratios are different pairs of numbers that express the same relationship. Just as 1/2 and 2/4 are the same fraction, 1:2 and 2:4 are the same ratio.

        Scale Ratio Calculator

        A scale ratio calculator converts between the size of a model or drawing and the size of the real object it represents. It's the tool you need whenever something has to be shrunk down or blown up by a fixed factor.

        Scale is written as model : real. A scale of 1:100 means one unit on the drawing equals 100 units in real life — so 1 cm on paper represents 1 metre on site.

        Real: 12 m
        Model: 12 cm

        Divide by Ratio Calculator

        A divide by ratio calculator splits a total amount into parts according to a given ratio. Instead of guessing or working through the fractions by hand, you enter the total and the ratio, and the tool returns each share.

        Part A: 48
        Part B: 72

        Practical Example: Concrete Mix Ratios

        Concrete Mix Ratios define the proportion of cement, sand, and gravel before mixing solutions. A standard concrete mix uses a 1 : 2 : 3 ratio — 1 part cement, 2 parts sand, 3 parts gravel. For 1 cubic meter (35.31 cubic feet) of standard concrete, this mix requires approximately 300 kilograms (661.39 pounds) of cement, 600 kg (1322.77 lbs) of sand, and 900 kg (1984.16 lbs) of gravel.

        Cement
        Sand
        Gravel
        For 1 m³: Cement = 166.67 kg, Sand = 333.33 kg, Gravel = 500.00 kg

        Practical Example: Scaling a Recipe

        Scaling a recipe applies the Ratio Calculator to cooking. A cookie recipe calls for flour, sugar, and butter in a ratio of 3 : 2 : 1. When blending spices or adjusting portion counts, multiply each ingredient by the same scale factor to maintain the correct proportions.

        Sugar 200 g
        Butter 100 g
        Ratio maintained: 3 : 2 : 1

        Convert Ratio to Fraction

        A ratio and a fraction can express the same relationship, but they aren't always interchangeable. The difference comes down to what each one is comparing.

        Converting a ratio to a fraction helps compare individual components against the total sum of all parts.

        Part A Fraction
        3/8
        = 0.375
        Part B Fraction
        5/8
        = 0.625

        Frequently Asked Questions

        How to calculate debt to income ratio? ▼

        Divide total monthly debt payments by gross monthly income and multiply by 100: DTI = (Monthly Debts ÷ Gross Income) × 100.

        How to calculate for ratio? ▼

        Divide both terms by their greatest common factor (GCF) to reduce the ratio to its simplest form.

        How to calculate cholesterol ratio? ▼

        Divide your total cholesterol by your HDL cholesterol: Cholesterol Ratio = Total Cholesterol ÷ HDL.

        How can I calculate my body fat ratio? ▼

        Divide your body fat mass by your total body weight and multiply by 100: Body Fat % = (Fat Mass ÷ Total Weight) × 100.

        How to calculate LTV ratio? ▼

        Divide the loan amount by the appraised property value and multiply by 100: LTV = (Loan Amount ÷ Appraised Value) × 100.

        How to calculate debt coverage ratio? ▼

        Divide net operating income by total debt service: DSCR = Net Operating Income ÷ Total Debt Service.

        How to calculate gear ratio? ▼

        Divide the number of teeth on the driven gear by the number of teeth on the driving gear: Gear Ratio = Driven Teeth ÷ Driving Teeth.