Use this free mathematical calculator for core operations and functions, including addition, subtraction, multiplication, division, powers, averages, roots, logarithms, sine and factorials.

Mathematical Calculator

Core maths in one place — operations plus roots, logs, sine and factorials, with the working shown.

Free to use Functions included Working shown Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for first number (a).

First operand; for square root, log and factorial this is the number used.

Enter a valid value for operation.

Choose a two-number operation, or a one-number function of A.

Enter a valid value for second number (b).

Second operand for two-number operations; ignored by one-number functions.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Mathematical Calculator tinyexe.comFree online calculators

TinyExe · Mathematical Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

First number (A)

—

Operation

—

Second number (B)

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Mathematical Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      A mathematical calculator evaluates the operation you choose: addition, subtraction, multiplication, division, powers and averages for two numbers, and square roots, base-ten and natural logarithms, sine in degrees and factorials for one. Two to the power ten is one thousand twenty-four, and the square root of one hundred forty-four is twelve.

      • 2^10 = 1,024 and √144 = 12
      • log10(1000) = 3 because 10^3 = 1000
      • Factorial is defined here for whole numbers 0 to 170

      Quick mathematical reference

      Reference values for this calculator.

      FunctionExampleResult
      Square root√14412
      Power2^101,024
      Log base 10log10(1000)3
      Natural logln(e)1
      Factorial5!120
      Sinesin(30°)0.5

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Mathematical operations on A and B: sum, difference, product, quotient, A raised to B, and average of the pair, plus one-number functions √A, log₁₀A, ln A, sin A° and A!

      This tool is honestly a general mathematical calculator — its title promises broad maths, so it provides the standard two-number operations plus the one-number functions (roots, logs, sine in degrees, factorial) that a plain four-function calculator lacks.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Addition

      A = 12, B = 8, operation add

      CalculationSteps
      12 + 8 = 20.Result 20.

      Result

      Example 2

      Power

      A = 2, B = 10, operation power

      CalculationSteps
      2^10 = 2 multiplied by itself 10 times = 1,024.Result 1,024.

      Result

      Example 3

      Square root

      A = 144, operation sqrt

      CalculationSteps
      Find the number that squares to 144: 12 × 12 = 144, so √144 = 12.Result 12.

      Result

      How to use this calculator

      Step 1

      Enter the first number, A.

      Step 2

      Choose the operation — two-number operations also use B.

      Step 3

      Enter B if the operation needs it; one-number functions ignore it.

      Step 4

      Read the evaluated result and the operation shown in the steps.

      Step 5

      Change only the operation to compare, for example, a product with an average.

      In short: A general-purpose calculator for standard arithmetic operations and elementary mathematical functions.

      Frequently asked questions

      Is this a full scientific calculator?

      No. It covers the core operations and common one-number functions, but it does not parse typed expressions or handle brackets. For a typed expression, use the Numeric Expression Calculator or Google Search Calculator on this site.

      Why does factorial stop at 170?

      Factorials grow explosively: 171! exceeds the largest number JavaScript can represent finitely, so the tool refuses rather than returning infinity as if it were an answer.

      Does sine use degrees or radians?

      Degrees in this tool, which matches school and everyday use. sin(30°) = 0.5. Many programming languages use radians, which is a common source of mismatched answers.

      What is the difference between log10 and ln?

      log10 is the logarithm base 10 — 'how many powers of ten'. ln is the natural logarithm, base e ≈ 2.718. They differ by a constant factor of about 2.303.

      Why did division by zero give an error instead of infinity?

      Because infinity is not a usable result for this calculator's purpose. The tool states the problem plainly instead of presenting a symbol as a number.

      About this calculator

      A mathematical calculator is the general-purpose workhorse: it evaluates standard operations — addition, subtraction, multiplication, division, powers and averages — and the elementary functions a basic calculator omits, namely square roots, logarithms, sine and factorials.

      The honest scope matters here. Unlike a specialised tool, this calculator's title really is general, so a well-labelled set of operations is the correct implementation — what it must not do is pretend to be a specialised solver. It therefore labels each operation plainly, shows the expression it evaluated in the steps, and refuses undefined cases such as division by zero or the logarithm of a negative number instead of inventing a result.

      Two details cause most mismatches with other calculators. First, sine here takes degrees, so sin(30) means sin(30°) = 0.5; tools in radian mode return about −0.988 for the same keystrokes. Second, 'log' is ambiguous in the wild, so this tool offers log10 and ln as separate, labelled operations rather than guessing.

      Factorial deserves its cap: factorials outgrow ordinary number ranges faster than almost any school function — 21! already exceeds a quadrillion — so results are exact only within JavaScript's safe number range and the function stops at 170, the largest factorial that stays finite.

      Use it for homework checks, quick engineering arithmetic, shopping and unit sanity checks, and any one-step calculation where opening a full scientific calculator or spreadsheet is overkill.

      How to calculate it yourself

      Step 1

      Decide whether your calculation needs one number (root, log, sine, factorial) or two (the arithmetic operations and average).

      Step 2

      Perform two-number operations in the usual order, and remember powers are not commutative: 2^10 is 1024 but 10^2 is 100.

      Step 3

      For a root or log, check the domain first: roots need a non-negative number here, logs need a positive one.

      Step 4

      Verify a surprising result by reversing it — if √144 = 12, then 12 × 12 must equal 144.

      Real-life examples

      Checking a homework average

      A student scored 12 and 8 on two quizzes and wants the mean before the teacher posts it.

      calculation: Average = (12 + 8) ÷ 2 = 10.

      Mean score 10 — matching the gradebook when it appears.

      Sizing a backup drive

      A photographer needs four copies of a 256 GB archive and checks the total with a power-of-two shortcut their drive app uses.

      calculation: Using the power operation, 2^10 = 1,024, the number of MB in a GB in binary terms, confirming the app's conversion figure before buying drives.

      The conversion checks out at 1,024.

      Ideas & use cases

      • Reverse-check any result: after a division, multiply back; after a root, square it — the tool's shown expression makes this fast.
      • Compare growth: run 2^10, 2^20 and 2^30 to feel why exponential quantities (bacteria, compound growth, storage) explode.
      • Use the average operation on two test scores, prices or measurements for a quick midpoint before reaching for full statistics tools.

      Limitations & sources

      • Does not parse free-typed expressions with brackets, does not do fractions symbolically, statistics or calculus, and sine is in degrees only.

      Sources: Operation definitions and factorial/logarithm conventions: standard mathematics references (NIST Digital Library of Mathematical Functions, dlmf.nist.gov)

      Mathematical Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results