Fraction Calculator

Fraction Calculator

Beliebt AI Skill PRO

Geben Sie die Berechnung ein

Formel

num1den1+num2den2=num1·den2+num2·den1den1·den2\frac{\text{num1}}{\text{den1}} + \frac{\text{num2}}{\text{den2}} = \frac{\text{num1} \cdot \text{den2} + \text{num2} \cdot \text{den1}}{\text{den1} \cdot \text{den2}}

Beispiel

12+34=1·4+3·22·4≈1\frac{1}{2} + \frac{3}{4} = \frac{1 \cdot 4 + 3 \cdot 2}{2 \cdot 4} \approx 1
Nutzungsstatistik

Werbung

Ergebnisse

Result
5
4
= 1,25
First Fraction
1
2
= 0,5
Operation +
Second Fraction
3
4
= 0,75

Fehler auf dieser Seite melden

What this Fraction Calculator does

This tool performs the four basic arithmetic operations on two fractions. You enter the numerator and denominator of each fraction, choose whether to add, subtract, multiply or divide them, and the calculator returns the answer as a fully reduced fraction plus its decimal equivalent. It works with positive and negative whole numbers and automatically simplifies the result, so you never have to hand-cancel common factors.

A fraction shown as a shaded part of a circle and a bar
A fraction represents a part of a whole, written as numerator over denominator.

The input fields

  • num1 / den1 – the numerator and denominator of the first fraction.
  • num2 / den2 – the numerator and denominator of the second fraction.
  • op – the operation: add (+), subtract (−), multiply (×) or divide (÷).

A denominator of 0 is invalid, and dividing by a second fraction whose numerator is 0 is also rejected, since both create an undefined value.

The formulas used

The calculator applies the standard cross-multiplication rules:

  • Add: (num1 × den2 + num2 × den1) / (den1 × den2)
  • Subtract: (num1 × den2 − num2 × den1) / (den1 × den2)
  • Multiply: (num1 × num2) / (den1 × den2)
  • Divide: (num1 × den2) / (den1 × num2)

It then divides both the numerator and denominator by their greatest common divisor (GCD) to reduce the fraction, and moves any negative sign to the numerator so the result is in a clean standard form.

Werbung
Cross-multiplication pattern for adding two fractions
Adding fractions: cross-multiply numerators with the opposite denominators over the product of denominators.

Worked example

Suppose you want to add 1/2 and 1/3. Enter num1 = 1, den1 = 2, num2 = 1, den2 = 3 and select add.

  • Numerator: 1 × 3 + 1 × 2 = 5
  • Denominator: 2 × 3 = 6

The GCD of 5 and 6 is 1, so 5/6 is already reduced. The decimal result is 0.8333.

More Fraction Examples: Subtract, Multiply and Divide

These examples use the general rules for fractions \(\frac{a}{b}\) and \(\frac{c}{d}\) (with \(b\neq 0\), \(d\neq 0\)): subtraction gives \(\frac{a\cdot d - c\cdot b}{b\cdot d}\), multiplication gives \(\frac{a\cdot c}{b\cdot d}\), and division gives \(\frac{a\cdot d}{b\cdot c}\) (with \(c\neq 0\)). Each result is then reduced by dividing the numerator and denominator by their greatest common divisor (GCD).

Example 1: Subtraction, 3/4 − 1/6

  1. Substitute: \(\frac{3}{4} - \frac{1}{6} = \frac{3\cdot 6 - 1\cdot 4}{4\cdot 6}\)
  2. Before reducing: numerator \(18 - 4 = 14\), denominator \(4\cdot 6 = 24\), so \(\frac{14}{24}\).
  3. GCD(14, 24) = 2.
  4. Reduce: \(\frac{14\div 2}{24\div 2} = \frac{7}{12}\).
  5. Decimal: \(7 \div 12 = 0.58333\ldots\) (repeating 3).

Example 2: Multiplication with reduction, 2/4 × 2/3

  1. Substitute: \(\frac{2}{4}\times\frac{2}{3} = \frac{2\cdot 2}{4\cdot 3}\)
  2. Before reducing: numerator 4, denominator 12, so \(\frac{4}{12}\).
  3. GCD(4, 12) = 4.
  4. Reduce: \(\frac{4\div 4}{12\div 4} = \frac{1}{3}\).
  5. Decimal: \(1 \div 3 = 0.33333\ldots\) (repeating 3).

Example 3: Division with a negative result, −2/3 ÷ 4/5

  1. Substitute: \(\frac{-2}{3}\div\frac{4}{5} = \frac{-2\cdot 5}{3\cdot 4}\) (multiply by the reciprocal \(\frac{5}{4}\)).
  2. Before reducing: numerator \(-10\), denominator 12, so \(\frac{-10}{12}\).
  3. GCD(10, 12) = 2 (the sign does not affect the GCD).
  4. Reduce: \(\frac{-10\div 2}{12\div 2} = \frac{-5}{6}\), written \(-\frac{5}{6}\).
  5. Decimal: \(-5 \div 6 = -0.83333\ldots\) (repeating 3).

How to Add, Subtract, Multiply and Divide Fractions by Hand

  1. Check the denominators. Neither denominator may be 0. For division, the numerator of the second fraction must also be non-zero, because dividing by 0 is undefined.
  2. Add or subtract: find the least common denominator (LCD), the smallest number both denominators divide into. Convert each fraction to that denominator by multiplying its numerator and denominator by the same factor, then add or subtract the numerators and keep the denominator. Example: \(\frac{1}{4}+\frac{1}{6}\) has LCD 12, so \(\frac{3}{12}+\frac{2}{12}=\frac{5}{12}\). (Using the product \(b\cdot d\) as the denominator always works, but you then reduce more.)
  3. Multiply: multiply straight across, numerator times numerator and denominator times denominator: \(\frac{a}{b}\times\frac{c}{d}=\frac{a\cdot c}{b\cdot d}\).
  4. Divide: multiply the first fraction by the reciprocal of the second: \(\frac{a}{b}\div\frac{c}{d}=\frac{a}{b}\times\frac{d}{c}=\frac{a\cdot d}{b\cdot c}\).
  5. Reduce using the GCD. The Euclidean algorithm repeatedly replaces the pair (larger, smaller) with (smaller, remainder) until the remainder is 0; the last non-zero value is the GCD. For 14 and 24: 24 = 1·14 + 10; 14 = 1·10 + 4; 10 = 2·4 + 2; 4 = 2·2 + 0, so the GCD is 2. Divide the numerator and denominator by it: \(\frac{14}{24}=\frac{7}{12}\).
  6. Move the negative sign to the numerator. A negative denominator is rewritten so that the denominator is positive: \(\frac{5}{-6}=\frac{-5}{6}\). Two negatives cancel: \(\frac{-5}{-6}=\frac{5}{6}\).
  7. Convert to a decimal by dividing the numerator by the denominator: \(\frac{7}{12}=7\div 12\approx 0.5833\).
Werbung

Fraction Terms Explained

  • Numerator: the top number, which says how many parts are counted. In \(\frac{3}{4}\), the numerator is 3.
  • Denominator: the bottom number, which says how many equal parts make a whole. In \(\frac{3}{4}\), the denominator is 4. It can never be 0.
  • Greatest common divisor (GCD): the largest whole number that divides two numbers exactly. GCD(12, 18) = 6.
  • Least common denominator (LCD): the smallest common multiple of the denominators, used to add or subtract fractions. For denominators 4 and 6, the LCD is 12.
  • Reciprocal: the fraction flipped upside down; a number times its reciprocal equals 1. The reciprocal of \(\frac{4}{5}\) is \(\frac{5}{4}\). Zero has no reciprocal.
  • Proper fraction: the numerator's absolute value is smaller than the denominator, so the value lies between −1 and 1. Example: \(\frac{2}{3}\).
  • Improper fraction: the numerator's absolute value is greater than or equal to the denominator. Example: \(\frac{7}{4}\).
  • Mixed number: a whole number plus a proper fraction. \(\frac{7}{4}=1\frac{3}{4}\).
  • Equivalent fractions: different fractions with the same value, made by multiplying or dividing the top and bottom by the same non-zero number. \(\frac{1}{2}=\frac{2}{4}=\frac{5}{10}\).
  • Simplest form (lowest terms): a fraction whose numerator and denominator have a GCD of 1. \(\frac{7}{12}\) is in lowest terms; \(\frac{14}{24}\) is not.
  • Terminating decimal: a decimal that ends, such as \(\frac{1}{8}=0.125\). A fraction in lowest terms terminates exactly when its denominator has only the prime factors 2 and 5.
  • Repeating decimal: a decimal whose digits repeat forever, such as \(\frac{1}{3}=0.333\ldots\) or \(\frac{7}{12}=0.58333\ldots\). This happens when the reduced denominator has any prime factor other than 2 or 5.

FAQ

What happens if I enter a denominator of 0? The calculator flags it as invalid and returns no result, because a fraction with a zero denominator is undefined.

Why does my answer look different from what I typed? The result is always reduced to lowest terms. For example, 2/4 × 2/3 returns 1/3 rather than 4/12.

Can I use negative fractions? Yes. Enter a negative numerator or denominator, and the tool keeps the sign on the numerator after simplifying, so −2/4 becomes −1/2.

Zuletzt aktualisiert:

Am beliebtesten in Mathe und Statistik

Alle Mathe und Statistik Rechner anzeigen