Fraction Calculator - CalcVenue

Fraction Calculator

Fraction Calculator

Fields above the solid line represent the numerator, fields below represent the denominator. Use negative numbers for negative fractions.

Mixed Numbers Calculator

Enter whole numbers and fractions for each operand. Leave the whole number as 0 if not needed.

Simplify Fractions Calculator

Enter a fraction to reduce it to its simplest (lowest) form.

Decimal to Fraction Calculator

Enter a decimal number to convert it to a fraction.

Fraction to Decimal Calculator

Enter a fraction to convert it to a decimal number.

Big Number Fraction Calculator

Perform arithmetic with very large integers as numerators and denominators. Enter whole integers only (no decimals or commas).

Fraction Calculator

This page provides six fraction calculators covering every common fraction operation:

  • Fraction Calculator: Add, subtract, multiply, or divide any two fractions. Results are shown in simplified form, as a mixed number, and as a decimal - with a full step-by-step solution and a pie chart visualization.
  • Mixed Numbers Calculator: Perform all four operations on mixed numbers (e.g., 2 3/4 + 1 1/3). The calculator converts to improper fractions, performs the operation, then converts the result back to a mixed number.
  • Simplify Fractions Calculator: Reduce any fraction to its lowest terms by finding and dividing out the Greatest Common Factor (GCF) of numerator and denominator.
  • Decimal to Fraction Calculator: Convert any terminating decimal to an equivalent fraction in simplified form.
  • Fraction to Decimal Calculator: Divide the numerator by the denominator using long division to find the decimal equivalent - detecting whether it terminates or repeats.
  • Big Number Fraction Calculator: Perform fraction arithmetic with very large integers (hundreds of digits) using JavaScript's BigInt - useful for cryptography, number theory, and advanced mathematics.

All calculators accept positive and negative integers. Input the numerator in the top field and the denominator in the bottom field. Leave unused fields as 0.

A fraction is a number that represents a part of a whole. It consists of a numerator and a denominator. The numerator represents the number of equal parts of a whole, while the denominator represents the total number of equal parts that make up that whole. For example, in the fraction 3/8, the numerator is 3 and the denominator is 8. The fraction represents 3 equal parts out of a possible 8.

3/8

The shaded region of this figure represents the fraction 3/8 of a whole pie. The three shaded slices represent the numerator, while all eight equal slices represent the denominator.

Addition

Unlike with whole numbers, adding fractions requires that the fractions share a common denominator. The equations below show how to add two fractions. It is often easier to work with simplified fractions. As such, fraction solutions are typically expressed in their simplified forms. For example, the fraction 48 can be simplified to 12.

a/b + c/d = (ad + bc) / bd    (formula)
Example: 1/2 + 1/3 = (1×3 + 1×2) / (2×3) = 5/6

The LCD (Least Common Denominator) method is often more efficient. Instead of multiplying both denominators together (which always works but may produce large numbers), find the LCM of the two denominators. For 1/4 + 1/6, the LCD is 12, so: 3/12 + 2/12 = 5/12.

Subtraction

Fraction subtraction is essentially the same as fraction addition. A common denominator is required for the operation to occur. Refer to the addition section as well as the equations below for clarification.

a/b − c/d = (ad − bc) / bd    (formula)
Example: 1/2 − 1/4 = (1×4 − 1×2) / (2×4) = 2/8 = 1/4

Multiplication

Multiplying fractions is fairly straightforward. Unlike adding and subtracting, it is not necessary to compute a common denominator in order to multiply fractions. Simply multiply the numerators and denominators of each fraction in the problem by one another.

a/b × c/d = ac / bd    (formula)
Example: 3/4 × 2/5 = (3×2) / (4×5) = 6/20 = 3/10

Often when working with fractions, the resulting fraction can be simplified. An easy shortcut is to cross-cancel before multiplying - divide a numerator and a diagonal denominator by their GCF first. This keeps the numbers smaller.

Division

The process for dividing fractions is similar to that for multiplying fractions. In order to divide fractions, the fraction in the numerator is multiplied by the reciprocal of the fraction in the denominator. The reciprocal of a fraction is simply a fraction with the numerator and denominator switched.

a/b ÷ c/d = a/b × d/c = ad / bc    (formula)
Example: 3/4 ÷ 3/8 = 3/4 × 8/3 = 24/12 = 2

An alternative method for finding a common denominator is to use the number obtained by multiplying the two denominators (bd), reducing the result to the lowest terms by factoring out the GCF of the numerator and denominator.

Simplification

It is often easier to work with simplified fractions. As such, fraction solutions are typically expressed in their simplified forms. For example, the fraction 812 can be simplified to 23.

To simplify a fraction, find the greatest common factor (GCF) - also called the greatest common divisor (GCD) - of the numerator and the denominator, then divide both by that number.

GCF(8, 12) = 4   →   8/12 ÷ 4/4 = 2/3

One way to find the GCF is to list the prime factors of each number and identify the common ones. For example: 8 = 2 × 2 × 2 and 12 = 2 × 2 × 3. The common prime factors are 2 × 2 = 4, so GCF(8,12) = 4. The Euclidean algorithm (repeated division) is another efficient approach for larger numbers.

Converting between Fractions and Decimals

Converting from decimals to fractions is straightforward. It does not require finding a common denominator. Simply count the number of decimal places and use that as a power of 10 for the denominator.

0.75 = 75/100 → GCF(75,100) = 25 → 3/4
3.125 = 3125/1000 → GCF(3125,1000) = 125 → 25/8 = 3 1/8

Converting a fraction to a decimal is done by dividing the numerator by the denominator. Some fractions produce terminating decimals (e.g., 3/8 = 0.375), while others produce repeating decimals (e.g., 1/3 = 0.333...). A fraction in lowest terms terminates if and only if the denominator has no prime factors other than 2 and 5.

Common Fraction Equivalents

Fraction Decimal Percent
1/20.550%
1/30.333...33.33...%
2/30.666...66.67%
1/40.2525%
3/40.7575%
1/50.220%
1/80.12512.5%
3/80.37537.5%
5/80.62562.5%
7/80.87587.5%

Types of Fractions

Not all fractions behave the same way. Understanding the different types helps in choosing the right calculation approach:

  • Proper fraction: The numerator is less than the denominator. The value is between 0 and 1 (or between −1 and 0 for negative proper fractions). Examples: 3/4, 7/8, 2/5.
  • Improper fraction: The numerator is greater than or equal to the denominator. The value is ≥ 1 (or ≤ −1). Examples: 5/4, 11/3, 8/8. Improper fractions can always be written as mixed numbers.
  • Mixed number: A whole number combined with a proper fraction. Examples: 1 3/4, 2 1/2, 5 7/8. Mixed numbers are a more intuitive way to express improper fractions in real-world contexts.
  • Unit fraction: A proper fraction with 1 in the numerator. Examples: 1/2, 1/3, 1/7. Unit fractions were the primary form of fraction used in ancient Egyptian mathematics.
  • Equivalent fractions: Fractions that represent the same value despite having different numerators and denominators. Examples: 1/2 = 2/4 = 3/6 = 50/100. Multiplying or dividing both numerator and denominator by the same nonzero number produces an equivalent fraction.
  • Like fractions: Fractions that share the same denominator. Adding or subtracting like fractions is straightforward - just operate on the numerators. Examples: 3/8 and 5/8.
  • Unlike fractions: Fractions with different denominators. They must be converted to like fractions (using the LCD) before adding or subtracting.

Finding the GCF and LCM: Two Essential Tools

Two operations underlie almost all fraction arithmetic: finding the Greatest Common Factor (GCF) for simplification and finding the Least Common Multiple (LCM) for addition and subtraction.

Greatest Common Factor (GCF)

The GCF of two integers is the largest integer that divides both without a remainder. There are two reliable methods:

Method 1 - Prime Factorization: Write each number as a product of prime factors. The GCF is the product of the primes they share (using the smaller exponent for each).

GCF(48, 36):
48 = 2⁴ × 3
36 = 2² × 3²
GCF = 2² × 3¹ = 4 × 3 = 12

Method 2 - Euclidean Algorithm: Repeatedly divide the larger number by the smaller, replacing the larger with the remainder, until the remainder is zero. The last nonzero remainder is the GCF. This is the method used internally by this calculator.

GCF(48, 36):
48 ÷ 36 = 1 remainder 12
36 ÷ 12 = 3 remainder 0
GCF = 12

Least Common Multiple (LCM)

The LCM of two integers is the smallest positive integer that is divisible by both. For fractions, the LCM of the denominators is the Least Common Denominator (LCD).

Method 1 - Using GCF: LCM(a, b) = |a × b| ÷ GCF(a, b). This is the most efficient method.

LCM(8, 12):
GCF(8, 12) = 4
LCM = (8 × 12) ÷ 4 = 96 ÷ 4 = 24

Method 2 - Prime Factorization: The LCM is the product of each prime factor raised to its highest power across both numbers.

LCM(8, 12):
8 = 2³
12 = 2² × 3
LCM = 2³ × 3 = 8 × 3 = 24

Working with Mixed Numbers

Mixed numbers appear constantly in everyday life - recipes (2 1/2 cups), measurements (5 3/4 inches), time (1 1/4 hours). The calculator handles mixed numbers directly, but understanding the underlying steps is valuable.

Converting a Mixed Number to an Improper Fraction

Multiply the whole number by the denominator, then add the numerator. Keep the same denominator.

3 2/5 → (3 × 5 + 2) / 5 = 17/5
2 7/8 → (2 × 8 + 7) / 8 = 23/8

Converting an Improper Fraction to a Mixed Number

Divide the numerator by the denominator. The quotient is the whole number, and the remainder over the original denominator is the fractional part.

17/5 → 17 ÷ 5 = 3 remainder 2 → 3 2/5
23/8 → 23 ÷ 8 = 2 remainder 7 → 2 7/8

Adding Mixed Numbers: Full Worked Example

Add 2 3/4 + 1 2/3:

  1. Convert to improper fractions: 2 3/4 = 11/4 and 1 2/3 = 5/3
  2. Find LCD(4, 3) = 12
  3. Convert: 11/4 = 33/12 and 5/3 = 20/12
  4. Add numerators: 33 + 20 = 53/12
  5. Convert back: 53 ÷ 12 = 4 remainder 5 → 4 5/12

Subtracting Mixed Numbers with Borrowing

Subtract 3 1/4 − 1 3/4:

  1. Convert: 3 1/4 = 13/4 and 1 3/4 = 7/4
  2. Same denominator - subtract: 13/4 − 7/4 = 6/4
  3. Simplify: GCF(6,4) = 2 → 3/2
  4. Convert: 3/2 = 1 1/2

The "borrowing" happens automatically when you convert to improper fractions first - the improper fractions absorb the whole-number part, eliminating the need for manual borrowing.

Cross-Cancellation: A Shortcut for Multiplication

When multiplying fractions, you can simplify before multiplying - cancelling a factor from any numerator with any denominator (not just the numerator and denominator of the same fraction). This is called cross-cancellation and keeps numbers smaller.

8/15 × 5/12
Cross-cancel 8 and 12: GCF(8,12)=4 → 8÷4=2, 12÷4=3
Cross-cancel 5 and 15: GCF(5,15)=5 → 5÷5=1, 15÷5=3
Simplified: 2/3 × 1/3 = 2/9
(vs. multiplying first: 40/180 → GCF(40,180)=20 → 2/9 - same answer, harder arithmetic)

Comparing Fractions: Which Is Larger?

Comparing fractions with the same denominator is trivial - the larger numerator wins. Comparing unlike fractions requires converting them to a common denominator first.

Which is larger: 3/4 or 5/7?

  1. Find LCD(4,7) = 28
  2. Convert: 3/4 = 21/28 and 5/7 = 20/28
  3. Compare numerators: 21 > 20, so 3/4 > 5/7

A quick alternative is the cross-multiplication method: compare a/b vs. c/d by comparing a×d vs. b×c. If a×d > b×c, then a/b > c/d. For 3/4 vs. 5/7: 3×7=21 and 4×5=20 → 21>20 → 3/4 > 5/7. This avoids finding the LCD entirely.

Fractions on a Number Line

Plotting fractions on a number line builds intuition for their relative size. To place a/b on a number line:

  1. Divide the segment from 0 to 1 into b equal parts.
  2. Count a parts from 0. That point represents a/b.

For improper fractions and mixed numbers, extend the number line past 1. The mixed number 2 3/4 sits three-quarters of the way between 2 and 3. Equivalent fractions (1/2, 2/4, 3/6...) all plot to the exact same point on the number line, confirming they represent the same value.

Real-World Uses of Fractions

Fractions are not just a classroom exercise - they appear constantly in practical life:

  • Cooking and baking: Recipes routinely use fractions - 3/4 cup of flour, 1/2 teaspoon of salt, 2 1/3 cups of milk. Doubling or halving a recipe requires multiplying or dividing each fractional quantity.
  • Construction and carpentry: US measurements use fractions of an inch - 3/8 inch drill bits, 2 × 4 lumber, 5/4 decking boards. Cutting and joining pieces requires adding and subtracting fractional lengths.
  • Finance: Interest rates, tax rates, and investment returns are sometimes expressed as fractions. Stock prices were historically quoted in fractions of a dollar (eighths) before the US markets decimalized in 2001.
  • Music: Note values are fractions of a whole note - a half note (1/2), quarter note (1/4), eighth note (1/8), sixteenth note (1/16). Time signatures express how many beats (of what fraction of a whole note) fit in a measure.
  • Medicine and pharmacy: Drug dosages are often expressed as fractions of a milligram or teaspoon - "take 1/2 tablet twice daily" or "3/4 tsp every 6 hours." Precision matters; fraction errors can affect patient safety.
  • Probability: The probability of an event is a fraction between 0 and 1 - rolling a 3 on a standard die has probability 1/6, drawing an ace from a deck has probability 4/52 = 1/13.

Terminating vs. Repeating Decimals

When converting a fraction to a decimal by long division, the result is either a terminating decimal (the division eventually reaches a remainder of zero) or a repeating decimal (the remainder cycles, producing a repeating pattern of digits).

A fraction in its simplest form produces a terminating decimal if and only if the denominator has no prime factors other than 2 and 5. If the denominator (in lowest terms) contains any other prime factor (3, 7, 11, 13, ...), the decimal repeats.

FractionDenominator factorsDecimalType
1/40.25Terminating
3/80.375Terminating
7/202² × 50.35Terminating
1/330.333...Repeating
1/770.142857142857...Repeating (6-digit cycle)
5/62 × 30.8333...Repeating
1/11110.090909...Repeating (2-digit cycle)

Every repeating decimal can be converted back to an exact fraction. For example, to convert 0.333... to a fraction: let x = 0.333...; then 10x = 3.333...; subtract: 9x = 3; so x = 3/9 = 1/3.

Frequently Asked Questions

What is a mixed number?

A mixed number combines a whole number with a proper fraction, such as 2 3/4. To convert a mixed number to an improper fraction, multiply the whole number by the denominator and add the numerator, then keep the same denominator: 2 3/4 = (2 × 4 + 3)/4 = 11/4. To convert back, divide: 11 ÷ 4 = 2 remainder 3, so 2 3/4.

What is an improper fraction?

An improper fraction has a numerator greater than or equal to its denominator, such as 7/4 or 9/9. It is mathematically equivalent to the corresponding mixed number or whole number. Some contexts require expressing an answer as a mixed number; others prefer improper fractions. Both forms are accepted in this calculator's input and output.

How do you find the least common denominator (LCD)?

The LCD is the Least Common Multiple (LCM) of the denominators. To find the LCM, list multiples of each denominator until you find the first one they share. For example, multiples of 4: 4, 8, 12 - multiples of 6: 6, 12. LCM(4,6) = 12. Alternatively, use the formula LCM(a,b) = |a×b| / GCF(a,b), which is faster for larger numbers. The calculator uses this formula internally.

What does it mean for a fraction to be in its simplest form?

A fraction is in its simplest (or lowest) form when the GCF of the numerator and denominator is 1 - that is, they share no common factors other than 1. For example, 3/4 is in simplest form because GCF(3,4) = 1, but 6/8 is not because GCF(6,8) = 2. Dividing both by 2 gives 3/4, the simplified form. All results from this calculator are automatically expressed in simplest form.

Can fractions have negative numerators or denominators?

Yes. A negative fraction can be written with the negative sign on the numerator, denominator, or in front of the fraction - they are all equivalent: −3/4 = 3/(−4) = −(3/4). By convention, the simplified form places the negative sign in the numerator or in front of the fraction, not in the denominator. This calculator accepts negative values in both the numerator and denominator fields.

Why can't the denominator be zero?

Division by zero is undefined in mathematics. A fraction a/b represents a ÷ b - asking how many times b fits into a. If b = 0, the question has no meaningful answer: no matter how many times you add 0, you cannot reach any nonzero number. Mathematically, the limit of a/b as b → 0 is either +∞ or −∞ (depending on sign), neither of which is a real number. This is why the calculator rejects any denominator of zero.

What is cross-multiplication and when is it used?

Cross-multiplication is a technique for comparing fractions or solving equations involving fractions. To compare a/b and c/d: compute a×d and b×c - if a×d > b×c then a/b > c/d. To solve a/b = c/d for an unknown: cross-multiply to get a×d = b×c, then solve the resulting equation. Cross-multiplication is also the basis of the fraction addition formula: a/b + c/d = (ad + bc)/bd - the numerator is derived from cross-multiplying the fractions and adding the results.

What is the difference between the GCF and LCM?

The GCF (Greatest Common Factor, also called GCD - Greatest Common Divisor) is the largest number that divides both integers evenly. It is used to simplify fractions. The LCM (Least Common Multiple) is the smallest number that both integers divide into evenly. It is used to find the common denominator when adding or subtracting fractions. For any two positive integers a and b: GCF(a,b) × LCM(a,b) = a × b. This relationship lets you find one quickly if you already know the other.