Calculators

Scientific & Fraction Calculator

A scientific calculator with trigonometry, logarithms, powers and factorials, plus an exact fraction calculator that handles mixed numbers and turns decimals into fractions.

= 25

Type freely: 2pi, 3(4+1), sqrt 2, 5!, 15% of 80 as 15%*80. Enter evaluates.

History

Results appear here after you press =.

    About this tool

    This page combines two calculators. The scientific calculator evaluates whole expressions as you type them: powers, roots, factorials, percentages, logarithms and trigonometric functions in degrees or radians, with the usual order of operations and implicit multiplication, so 2π, 3(4+1) and 2sin(30) all work. Results keep a history, and the last answer can be reused as Ans.

    The fraction calculator works with exact fractions instead of rounded decimals. It accepts mixed numbers such as 1 1/2, simple fractions and repeating decimals written as 0.(3), and returns the simplified fraction, the mixed number, the exact decimal with the repeating part marked, and the percentage. A separate box turns any decimal into a fraction, which is handy for recipes, measurements and homework.

    How to use Scientific & Fraction Calculator

    1. Choose Scientific or Fractions at the top; for trigonometry, pick DEG or RAD.
    2. Type the expression or use the keypad. The result updates live; press Enter or = to keep it in the history.
    3. For fractions, write a/b, mixed numbers as "1 1/2", and repeating decimals with the repeating digits in parentheses.
    4. Copy any result, or click a history entry to edit it again.

    Examples

    Scientific expression

    Input
    2sin(30) + √(16) × 3!
    Result
    25

    In degrees: 2 × 0.5 + 4 × 6.

    Mixed numbers

    Input
    1 1/2 + 3/4
    Result
    9/4 = 2 1/4 = 2.25

    Exact decimals and approximations

    Input
    1/6 · 22/7 · 3.14159265
    Result
    0.1(6) · 3.(142857) · ≈ 355/113

    Order of operations and syntax

    • Brackets first, then powers (right to left: 2^3^2 = 2^9 = 512), then multiplication and division, then addition and subtraction.
    • A minus sign in front of a power applies after it: −2^2 = −4. Write (−2)^2 for 4.
    • Implicit multiplication works between numbers, constants and brackets: 2pi, 3(4+1), 2sin(30).
    • n! is the factorial and x% means x ÷ 100, so 15% of 80 is written 15%*80.
    • log is base 10, ln is the natural logarithm, log2 is base 2; asin, acos and atan return angles in the chosen unit.

    Why exact fractions matter

    Computers store most decimals approximately: 0.1 + 0.2 is 0.30000000000000004 in binary floating point. The fraction calculator avoids this by keeping every number as an integer numerator and denominator, so 1/3 + 1/6 is exactly 1/2. When a fraction is turned into a decimal, the repeating block is shown in parentheses: 1/7 = 0.(142857). The scientific calculator still uses floating point, but it rounds away noise like sin(180°) = 1.2e-16 so results read cleanly.

    Frequently asked questions

    Everything you need to know about this tool and data security.

    Should I use degrees or radians?

    Use degrees for everyday geometry (a right angle is 90) and radians for calculus and physics formulas (a right angle is π/2). The DEG/RAD switch applies to sin, cos, tan and their inverses.

    Why does tan(90) show an error?

    The tangent of 90° is undefined, because cos(90°) is zero. The calculator reports it instead of showing a huge rounding artefact.

    How do I enter a repeating decimal?

    Put the repeating digits in parentheses: 0.(3) is 1/3, 0.1(6) is 1/6, 2.(142857) is 15/7.

    Is anything stored?

    The history lives only in the page and disappears when you close it. Nothing is sent anywhere.

    Is my data safe when using this tool?

    Yes, 100% safe. This tool operates entirely inside your web browser using client-side JavaScript and WebAssembly. Your data never touches any external server.