Lewati ke konten utama
Versi: 1.0

🧮 Fraction Calculator

The Fraction Calculator helps you solve arithmetic problems involving fractions. It supports addition, subtraction, multiplication, and division between two fractions, and shows both visual and decimal results.


📥 Input Section

1. Enter Two Fractions

Each fraction is made up of:

  • A numerator (top number)
  • A denominator (bottom number)

Example:

  • First fraction: 1/2
  • Second fraction: 1/3

2. Choose an Operator

Select one of the following operations from the center buttons:

SymbolOperation
+Addition
Subtraction
×Multiplication
÷Division

3. Click “Calculate”

After entering both fractions and choosing an operation, press the Calculate button to see the result.


📊 Output Section

You will see:

  1. Fraction Result:

    • Simplified result (e.g. 5/6)
  2. Decimal Equivalent:

    • Exact or rounded decimal form (e.g. 0.833…)
  3. Repeating Decimal Notation (if applicable):

    • Example: 0.8(3) for recurring decimals
  4. Visual Pie Chart:

    • Displays each fraction and the result as colored pie segments
    • Useful for visual learners

📝 Example

Input:

  • 1/2 + 1/3

Output:

  • Result: 5/6
  • Decimal: 0.8333... or 0.8(3)
  • Visual: Shows two pie segments combining into the result

✅ Tips

  • Input values must be valid fractions (e.g., denominators ≠ 0).

  • Use this calculator for:

    • Homework help
    • Checking manual calculations
    • Learning fractions visually
    • Understanding fraction-to-decimal conversions