Ratio Calculator

Provide at least two known values (like A and B) to get started.

You can easily simplify a ratio or solve for a missing variable, or verify complex proportions

Enter Values
:
=
:
Result / Answer

How to Use This Ratio Calculator

Mode 1: Simplifying Ratios (2 Variables)

Enter only two inputs on either side of the equation, such as fields A and B or fields C and D. Leave the remaining two fields completely empty. The calculator identifies the largest integer that divides both numbers evenly and returns the reduced, simplest version of your ratio.

Mode 2: Solving for a Missing Variable (3 Variables)

Enter any three known values across the four available fields and leave the unknown variable blank. The tool automatically isolates the missing variable using cross-multiplication.

Mode 3: Verifying Proportions (4 Variables)

Fill in all four fields (A, B, C, and D) to test if the two ratios are mathematically equivalent. The tool evaluates the cross-products of the input values. It outputs a definitive “True” if the ratios form a perfect proportion, or “False” if the fractions do not match.

What is a Ratio?

Ratios compare two or more quantities to show their relative sizes. They demonstrate how much of one item exists in comparison to another. For example, if a recipe calls for two cups of flour and one cup of sugar, the relationship between flour and sugar remains constant regardless of the total batch size.

You write ratios in three distinct formats: with a colon (A:B), as a fraction (A/B), or using the word “to” (A to B). Each format conveys the exact same mathematical relationship. The first number represents the antecedent, while the second number represents the consequent.

Understanding the difference between part-to-part and part-to-whole relationships prevents calculation errors. A part-to-part ratio compares two distinct categories, such as three blue marbles to five red marbles (3:5). A part-to-whole ratio compares one specific category to the entire group, meaning the blue marbles represent three out of eight total marbles (3:8).

How to Calculate Ratios Manually

Finding the Greatest Common Divisor (GCD)

To simplify a ratio to its lowest terms, divide both components by their highest shared factor. This number is the Greatest Common Divisor. If you have a ratio of 24:36, you can manually list the common factors for each number to isolate the largest match.

Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24
Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36
Greatest Common Divisor (GCD) = 12

24 ÷ 12 = 2
36 ÷ 12 = 3

Simplified Ratio = 2:3

The calculator handles numbers with decimals by converting them into whole numbers first.

The Cross-Multiplication Method

When dealing with a proportion where one value remains unknown, utilize the cross-multiplication method. A proportion states that two fractions are completely equal. By multiplying across the equal sign, you eliminate the denominators and form a solvable linear equation.

If A / B = C / D
Then: A × D = B × C

Depending on which value is missing, isolate variable X by rearranging the known values. The calculator applies these specific algebraic configurations behind the scenes:

Solving for A: A = (B × C) ÷ D
Solving for B: B = (A × D) ÷ C
Solving for C: C = (A × D) ÷ B
Solving for D: D = (B × C) ÷ A

Real-World Applications

Ratios extend far beyond academic worksheets. Professionals across diverse industries use proportions daily to maintain consistency, analyze performance, and scale operations accurately.

Digital Design & Screen Resolutions

Media creators use aspect ratios to define the proportional relationship between a display’s width and height. If you scale an image or video incorrectly, you distort the visual asset or cause unwanted letterboxing.

Standard HD widescreen ratio = 16:9
Target width = 1920 pixels
Calculation: Height = (9 × 1920) ÷ 16
Target height = 1080 pixels.

Standard Digital Aspect Ratios

Aspect RatioPrimary Use CaseCommon Screen Resolutions (Width × Height)
16:9Modern HD Video & Monitors1920 × 1080 (FHD), 3840 × 2160 (4K)
9:16Vertical Mobile Video (Shorts, Reels)1080 × 1920
4:3Legacy Displays & Standard Print1024 × 768, 2048 × 1536 (iPad)
1:1Social Media Feeds (Square)1080 × 1080
21:9Ultra-Wide Cinematic Formats2560 × 1080, 3440 × 1440

Financial & Business Analysis

Corporate analysts use financial ratios to evaluate a company’s operational health, liquidity, and even mutual fund costs (such as calculating an expense ratio. These metrics convert raw balance sheet numbers into meaningful comparative data points.

Current Ratio = Total Current Assets ÷ Total Current Liabilities
Debt-to-Equity Ratio = Total Liabilities ÷ Total Shareholders’ Equity

A current ratio of 2:1 indicates that a business possesses exactly twice as many assets as short-term liabilities. This proportion signals robust financial stability to potential investors and creditors. Proportions are equally vital in personal finance, such as allocating your income using a strict 50/30/20 budget framework.

Key Financial Ratio Benchmarks

Financial MetricThe Formula (Proportion)Healthy Target RatioWhat It Indicates
Current RatioCurrent Assets : Current Liabilities1.5:1 to 2:1Sufficient short-term liquidity to cover immediate debts.
Quick RatioLiquid Assets : Current Liabilities1:1 or higherAbility to pay off short-term obligations without selling inventory.
Debt-to-EquityTotal Debt : Shareholder EquityLess than 1:1The company is funding operations mostly through owned capital, not debt.

Construction & Engineering Mixes

Builders depend on strict ingredient proportions to ensure structural integrity when blending raw materials. Deviating from specified engineering ratios weakens the final product and compromises safety.

Standard Concrete Proportion (Cement : Sand : Aggregate)
Ratio = 1 : 2 : 4
Total Parts = 1 + 2 + 4 = 7 parts total.

To mix a specific volume of concrete, workers divide the total volume by seven to establish the unit size of a single part, then multiply that baseline across each raw ingredient.

Common Construction & Mechanical Mixes

Application TypeStandard RatioIngredient Breakdown
Standard Concrete1 : 2 : 41 part Portland cement, 2 parts sand, 4 parts coarse aggregate.
Standard Brick Mortar1 : 31 part masonry cement, 3 parts masonry sand.
2-Stroke Engine Fuel50 : 150 parts unleaded gasoline, 1 part 2-cycle engine oil.
Epoxy Resin (Standard)1 : 11 part liquid resin, 1 part chemical hardener.

Common Mistakes When Working With Proportions

Mixing Units of Measurement

You cannot directly compare quantities that use different metrics. For example, creating a ratio of 5 inches to 2 feet as 5:2 yields an incorrect proportion. Convert both values to the same unit first, changing the feet to 24 inches to achieve the correct ratio of 5:24.

Incorrect: 5 inches : 2 feet = 5:2
Correct Conversion: 2 feet = 24 inches
True Proportion: 5 inches : 24 inches = 5:24.

Misinterpreting Part-to-Part as Fractions

A part-to-part ratio does not translate directly into a fraction of the total whole. If a fertilizer mix contains a nitrogen-to-phosphorus ratio of 3:4, the nitrogen content is not 3/4 of the bag. The total mixture consists of 7 parts, making the actual nitrogen concentration 3/7 of the total volume.

FAQs

Q1. How do you find the ratio of two numbers?

A: Divide the first number by the second number to find their baseline relationship. Then, multiply or divide both values by their greatest common divisor to reduce the figures down to their smallest possible whole numbers.

Q2. What is the golden ratio?

A: The golden ratio is a special mathematical constant approximately equal to 1.618:1. It occurs when the ratio of two quantities is exactly equal to the ratio of their sum to the larger of the two quantities. Artists and architects use this specific proportion to achieve organic visual harmony. φ = (1 + √5) ^ 2 ≈ 1.61803. If you are designing a layout or analyzing art, you can find these exact dimensions using our Golden Ratio Calculator.

Q3. Can a ratio have decimals or negative numbers?

Yes. Ratios can accommodate decimals, fractions, and negative integers. However, standard mathematical convention dictates simplifying the final proportion into positive whole numbers to ensure clear reading.