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.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Mathematical Result
Calculated locally in your browser
—
Name
—
First number (A)
—
Operation
—
Second number (B)
—
How this was calculated
What to do next
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.
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.
| Function | Example | Result |
|---|---|---|
| Square root | √144 | 12 |
| Power | 2^10 | 1,024 |
| Log base 10 | log10(1000) | 3 |
| Natural log | ln(e) | 1 |
| Factorial | 5! | 120 |
| Sine | sin(30°) | 0.5 |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
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
| Calculation | Steps |
|---|---|
| 12 + 8 = 20. | Result 20. |
Result
Example 2
Power
A = 2, B = 10, operation power
| Calculation | Steps |
|---|---|
| 2^10 = 2 multiplied by itself 10 times = 1,024. | Result 1,024. |
Result
Example 3
Square root
A = 144, operation sqrt
| Calculation | Steps |
|---|---|
| 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.
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)
