Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Math & Science
  3. Fraction Calculator
Add to favorites

Fraction Calculator

Add, subtract, multiply, divide, and simplify fractions

Fractions are easier when the arithmetic is handled for you. This calculator adds, subtracts, multiplies, and divides two fractions, always reducing the result to its simplest form. It also shows the decimal value and, for improper results, the equivalent mixed number.

Calculated locally in your browserMore math & scienceJump to full guide

Initializing in your browser…

You might also like

Scientific Calculator

Advanced calculator with scientific functions and history

Aspect Ratio Calculator

Calculate aspect ratios, resize dimensions while maintaining proportions. Common presets for video, photo, mobile screens, and social media

Date & Age Calculator

Calculate exact age in years, months, and days. Find date differences, countdowns, zodiac signs, and detailed time breakdowns

A worked calculation

A recipe scaling needs 1/2 + 1/3 of a cup expressed as a single exact fraction, not a rounded decimal.

Expression

1/2 + 1/3
Fraction Calculator produces

Result

5/6  (≈ 0.8333), already in lowest terms

The fractions are placed over the least common denominator (6), added, then reduced by the greatest common divisor, giving an exact answer where a decimal would silently round. It also converts between improper fractions and mixed numbers.

What this calculator does

Fractions are easier when the arithmetic is handled for you. This calculator adds, subtracts, multiplies, and divides two fractions, always reducing the result to its simplest form. It also shows the decimal value and, for improper results, the equivalent mixed number.

How it works

Each operation is carried out by cross-multiplication on the raw numerators and denominators rather than by finding a least common denominator first. Addition and subtraction compute (n1*d2 +/- n2*d1) over d1*d2, multiplication uses n1*n2 over d1*d2, and division multiplies by the reciprocal as n1*d2 over d1*n2. The unsimplified product is shown first as the "Original" result, then reduced separately, so you can see both the mechanical answer and its lowest-terms form side by side.

Simplification runs the result through the Euclidean GCD algorithm (the iterative a % b loop) and divides both numerator and denominator by their greatest common divisor; if the denominator comes out negative it flips the sign of both so the denominator stays positive. The simplified fraction is only displayed when it actually differs from the original, the decimal equivalent is shown to six places via toFixed(6), and a mixed-number line appears only for improper results where the absolute numerator exceeds the absolute denominator and the denominator is not 1 (computed with Math.floor and a modulo for the remainder).

Inputs are parsed with parseInt, so values are treated as whole integers and any decimal portion is truncated; an empty numerator defaults to 0 and an empty denominator defaults to 1. A zero denominator, or dividing by a second fraction whose numerator is 0, triggers an alert instead of producing a result. Five quick presets (1/2, 1/3, 1/4, 2/3, 3/4) fill in the second fraction with one click, and the operation plus all four numerator/denominator values are stored in the URL, so a configured calculation can be shared as a link via the Share button.

How to use

  1. 1Enter two fractions using the numerator and denominator fields
  2. 2Select an operation: add, subtract, multiply, or divide
  3. 3Click Calculate to see the original result, the simplified fraction, and the decimal value
  4. 4Improper results are also shown as a mixed number

Key features

  • Add, subtract, multiply, and divide two fractions
  • Automatic simplification to lowest terms using the GCD
  • Decimal equivalent of the result
  • Mixed-number display for improper fractions
  • Quick presets (1/2, 1/3, 1/4, 2/3, 3/4) for the second fraction

When this is useful

  • Math class

    Solve and verify fraction arithmetic assignments and check the simplified form.

  • Cooking and recipes

    Scale ingredient amounts that are given as fractions, double a recipe calling for 2/3 cup.

  • Construction measurements

    Add fractional inch measurements when cutting lumber or laying tile.

Frequently asked questions

Can I enter mixed numbers?

Enter fractions as a numerator and denominator (improper fractions such as 11/4 are fine). The result is shown as a mixed number when it is improper, though inputs themselves are entered as numerator/denominator.

How does simplification work?

The calculator finds the greatest common divisor of the numerator and denominator and divides both by it, keeping the denominator positive.

What about dividing by zero?

A zero denominator, or dividing by a fraction with a zero numerator, is undefined, and the tool displays an error.

Related tools and how they differ

  • Scientific Calculator: Use it for general math: trig (deg/rad), logs, powers, roots, factorial, plus memory and history, working on decimal numbers rather than exact fractions.
  • Percentage Calculator: Use it for percentage tasks like X% of Y, percent change, or add/subtract a percent, instead of arithmetic between two fractions.

Private by design

Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.