Fraction Calculator

The fraction calculator adds, subtracts, multiplies and divides fractions and mixed numbers with exact answers. Results are simplified automatically and shown as a fraction, mixed number, decimal and percentage. It also converts any decimal — even a repeating one like 0.(3) — back into a fraction. It runs in your browser.

Examples

CalculationResult
1/2 + 1/35/6
1 1/2 × 2/31
3/4 ÷ 1/21 1/2
0.(3)1/3
1/70.(142857)

When to use it

  1. Check fraction homework.
  2. Scale recipe measurements.
  3. Convert a decimal measurement to a fraction of an inch.
  4. Turn a repeating decimal into a fraction.

How to Use

  1. Type two fractions, mixed numbers or decimals.
  2. Choose +, −, × or ÷.
  3. Read the simplified result.
  4. Use the converter below for decimal to fraction.

Features

  1. Exact arithmetic
  2. Mixed numbers
  3. Automatic simplification
  4. Repeating decimals both ways
  5. Decimal and percent output
  6. 100% client-side

FAQs

How do I add fractions with different denominators?

Rewrite them over a common denominator, add the numerators and simplify — the calculator does it exactly.

How do I enter a mixed number?

Type the whole number, a space, then the fraction, like 2 3/4.

How do I convert a repeating decimal to a fraction?

Put the repeating digits in brackets: 0.(6) gives 2/3, 0.1(6) gives 1/6.

Are the answers rounded?

No. Fractions are kept exact; decimals show the repeating part in brackets.

Is anything uploaded?

No. It runs in your browser.

Technical Details

Fractions are stored exactly as a numerator and denominator using big integers, so there's no rounding: 1/3 stays 1/3. Inputs can be fractions (3/4), mixed numbers (1 1/2), decimals (0.375) or repeating decimals with the repeating digits in brackets (0.1(6)), which are converted with the algebraic rule that a.b(c) = (abc − ab) ÷ (10^|b| × (10^|c| − 1)). Each operation cross-multiplies and the result is reduced by the greatest common divisor, with the sign kept in the numerator. Results are shown simplified, as a mixed number, as a percentage, and as an exact decimal found by long division that detects the repeating cycle — 1/7 is 0.(142857).

Calculators & Converters

Calculators & Converters

  • GCD & LCM Calculator
  • Matrix Calculator
  • Prime Number Checker
  • Ratio & Proportion Calculator
  • Roman Numeral Converter
  • Rounding Calculator
  • Scientific Notation Converter
  • Number Sequence Generator