TOOLGRID
HomeImage ToolsPDF ToolsVideo ToolsAudio Tools
More
Dev ToolsWeb & SEOCategoriesText ToolsCalculatorsAbout
Menu
HomeImage ToolsPDF ToolsVideo ToolsAudio ToolsDev ToolsWeb & SEOCategoriesText ToolsCalculatorsAbout
TOOLGRID

The full toolbox remains available when you need a specific utility.

Β© 2026 TOOLGRID. All rights reserved.

Tools

Image ToolsPDF ToolsVideo ToolsAudio Tools

Resources

CategoriesPrivacy Policy

Company

AboutTermsContact
  1. Home
  2. Calculators
  3. Ratio Calculator

Ratio Calculator

Simplify a two-part ratio and compare its decimal value and percentage shares.

Use this tool
Browser-local processingNo input upload to TOOLGRIDReview before copy
Formats and processing
Input
Pasted text or typed values
Output
Ratio Calculator result
Runtime
Browser APIs
Browser-local workspaceStart below with browser-local processing.

Tool code processes selected files and entered content in your browser and does not submit them to a TOOLGRID processing endpoint. TOOLGRID measures tool usage, not the content you enter.

Loading tool…

Browser-basedWhat this tool does

Simplify two numeric values into a colon ratio, calculate left divided by right, and show each side as a share of their sum. Decimal and exponent inputs are parsed as exact base-10 fractions for reduction; comparison displays are rounded separately.

For 16 and 9 the simplified ratio remains 16:9, the decimal comparison is about 1.7778, and the shares are 64% and 36% of the combined 25 parts.

Use values with the same unit and non-negative meaning when interpreting shares; mixed signs or a zero-sum pair can produce mathematically valid ratios that are not useful allocations.

Representative tasks

What you can do with this tool

Reduce an aspect ratio

Simplify pixel dimensions such as 1920:1080 to 16:9 before documenting an image or video requirement.

Scale a recipe or mixture

Reduce two ingredient quantities to a reusable proportion after converting both values to the same unit.

Explain a two-part allocation

Show both the part-to-part ratio and each side's percentage of the combined total for a budget or sample split.

Boundaries

What to check before relying on the result

  • Performance and maximum practical input size depend on browser memory, device speed, and the structure of the input.
  • Review the generated result before replacing or publishing an original file.
MDN JavaScript reference

How to use

  1. 1

    Enter the left and right quantities using the same measurement unit.

  2. 2

    Read the reduced colon ratio and decimal left-to-right comparison.

  3. 3

    Review each side's percentage of the sum when the values represent compatible non-negative parts.

  4. 4

    Check rounding before reusing a decimal ratio in layout, recipe, or allocation calculations.

Use Cases
Reduce an aspect ratio

Simplify pixel dimensions such as 1920:1080 to 16:9 before documenting an image or video requirement.

Scale a recipe or mixture

Reduce two ingredient quantities to a reusable proportion after converting both values to the same unit.

Explain a two-part allocation

Show both the part-to-part ratio and each side's percentage of the combined total for a budget or sample split.

Tips & Tricks
Convert units first

A ratio between 1 meter and 50 centimeters should be entered as 100:50 or 1:0.5, not 1:50.

Simplification is exact for accepted decimal text

The colon ratio is reduced from the entered base-10 fraction without a six-place rounding step. The separate decimal and percentage cards are display-rounded.

Interpret zero carefully

A right side of zero produces an infinite decimal ratio. When the two sides sum to zero, percentage shares are shown as β€” because an allocation denominator does not exist.

FAQ

Can both values be zero?

No. At least one side must be non-zero.

What is a simplified ratio?

Both values are divided by their greatest common divisor, so 4:6 becomes 2:3.

Can I use decimal inputs?

Yes. Accepted decimal and exponent text is converted to an exact base-10 fraction for greatest-common-divisor reduction. Extremely large, malformed, or unsafe display values fail closed.

What happens when the right value is zero?

The simplified ratio is still shown and the decimal left-to-right value is infinity. Percentage shares remain meaningful only when the combined total is non-zero.

Do the two percentage shares always add to 100%?

They do for ordinary non-negative values with a non-zero total, subject to display rounding. Mixed signs and a zero-sum pair are not meaningful allocation inputs.

Continue this workflow

Useful next steps

Open a nearby browser tool when you need to validate, convert, or reuse the result.

Percentage CalculatorCalculators · Local→Unit ConverterUnit Converters · Local→Date Difference CalculatorDate & Time · Local→