Basic calculator
Try Basic Calculator
Loading calculator. If this message stays visible, enable JavaScript and reload.
Your result
Type an arithmetic expression into the basic calculator to add, subtract, multiply or divide. Parentheses let you keep a complete calculation together, such as a shared bill after a refund or the cost of several items at different prices. The result appears after you choose Calculate / Run.
MoneyOr uses an expression field rather than a row of calculator keys. Write multiplication as *, division as /, and decimals with a point. A useful first check is (12 + 8) / 4, which returns 5. The examples below explain how to write your own calculation, check its meaning and recognise situations that need a different tool.
Basic calculator questions and answers
What can you enter in this basic calculator?
The basic calculator supports addition, subtraction, multiplication and division. Enter ordinary numbers, decimal points, spaces and round parentheses. For example, 7.5 * 4 gives 30, while -9 + 2.5 gives -6.5. A leading minus sign makes a number negative. It can also appear inside parentheses, as in 18 / (-3).
Keep labels outside the expression. If a purchase costs 249 rupees, enter 249, not a currency symbol followed by the amount. The same rule applies to centimetres, kilograms and other units. The calculator handles the numbers; you decide what the answer measures. A total of prices remains a price, whereas dividing a distance by a time gives a rate.
Use the typed arithmetic symbols shown beside the field. A multiplication sign copied from a document, a division sign, a decimal comma or a percent sign can cause an error. Write 6 * 8 rather than 6 x 8. Put the multiplication symbol before a group too: 3 * (4 + 2) is accepted, while 3(4 + 2) is incomplete for this input format.
There are no named variables, saved formulas or scientific-function inputs here. Letters such as x, pi and sqrt are outside this calculator's expression language. Use a dedicated mathematical tool when those operations are part of the question.
How do you turn a real question into one expression?
Start with the quantity you want to find, then write the operations in the order the situation requires. Suppose four people share a purchase costing 240, delivery costs another 120, and a refund reduces the shared cost by 40. Add the costs, subtract the refund, then divide the whole balance by four: (240 + 120 - 40) / 4. Each person owes 80.
The parentheses carry the meaning. Without them, 240 + 120 - 40 / 4 divides only the refund by four and returns 350. Both expressions are valid arithmetic. Only the first one represents an equal split of the final bill. An error message cannot catch a correctly written expression for the wrong question.
- Identify the starting values and their units.
- Write the calculation in the Expression field, using explicit operators between every number and group.
- Check each opening parenthesis has a closing one.
- Choose Calculate / Run and compare the result with a rough estimate.
- Keep the expression with your notes if another person will need to reproduce it.
For measurements, convert to one unit before adding values. Adding 2 metres and 30 centimetres as 2 + 30 mixes units. Enter 2 + 30 / 100 for a result in metres, or use the length converter first. Choosing sensible inputs matters as much as entering the symbols correctly.
How are parentheses and the order of operations handled?
The calculator finishes a parenthesised group before it uses that group's value elsewhere. It then handles multiplication and division before addition and subtraction. Operations at the same level are processed from left to right. This is the ordinary arithmetic convention explained in OpenStax's introduction to algebraic expressions.
Compare 8 + 3 * 4 with (8 + 3) * 4. In the first expression, 3 times 4 is 12, so the result is 20. In the second, the group is 11, so the result is 44. The numbers have stayed the same. The grouping has changed the question.
Multiplication does not always come before division. In 48 / 6 * 2, divide 48 by 6 to get 8, then multiply by 2 to get 16. If the intended denominator is 6 times 2, write 48 / (6 * 2), which gives 4. Similarly, 18 - 6 + 2 is 14, because subtraction and addition share a level.
Nested parentheses are available when a calculation has several groups. For example, 50 - ((6 + 4) * 3) gives 20. Avoid inserting extra layers simply to make an expression look mathematical. Clear grouping is easier to review. When a printed question uses a long fraction bar, translate everything above the bar into one group and everything below it into another before typing the division.
What do everyday worked examples look like?
A shopping total is a good place to start. Three items cost 79.50 each and two cost 42 each. Enter 3 * 79.5 + 2 * 42. The two subtotals are 238.50 and 84, giving a total of 322.50. The display may show 322.5 because this calculator does not force two decimal places for money.
For a unit price, a pack of 12 items costs 198. Enter 198 / 12 to get 16.5 per item. Comparing this with a different pack requires the same unit. A pack price and a per-item price cannot be compared directly.
| Question | Expression | Result |
|---|---|---|
| Balance after three expenses from 750 | 750 - (215.5 + 89.75 + 134.25) | 310.5 |
| Three equal lengths after a 0.4 metre offcut | (6.4 - 0.4) / 3 | 2 metres |
| Four identical groups of a 17 and a 23 | 4 * (17 + 23) | 160 |
| A loss followed by a partial recovery | -85 + 32 | -53 |
The shelf-length example assumes the offcut accounts for all material you are removing. If a saw blade removes material at each cut, include that allowance separately. The calculator cannot infer manufacturing tolerances from a length alone.
You can check a division by multiplying the answer back. The unit price of 16.5 multiplied by 12 returns 198. For the expense example, the three payments total 439.5. Add that amount back to the remaining balance of 310.5 and the starting budget is 750 again. This reverse check helps catch a mistyped price or a missed expense. Check both the expression and the written explanation before using a result in a record.
Why does a valid-looking calculation show an error?
A missing closing parenthesis, an unsupported character or a missing operator is usually the cause. Read the expression from left to right. In (15 + 5 / 2, the opening parenthesis never closes. In 4 * / 2, two binary operations appear without a number between them. Correct the input before running it again.
Division by zero is rejected. That includes a denominator that becomes zero after a calculation, such as 12 / (8 - 8). It is a mathematical problem with the expression, not a slow connection or a browser setting. Changing zero to a small arbitrary number would answer a different question.
There are input limits. An expression can contain at most 180 characters, including its spaces. Excessive nesting is also rejected; the parser limits the depth to 60 levels. Ordinary bills and short arithmetic examples fit comfortably within those limits. Split a genuinely long calculation into documented stages rather than compressing it into an unreadable line.
An error near a particular position points to where parsing stopped. Look just before that point as well: a missing operator may become noticeable only when the next number or group begins. If you pasted the expression, retype its punctuation. A long dash from formatted text can resemble the ordinary minus key while being a different character.
How much precision does the displayed result have?
Results are displayed with up to eight digits after the decimal point. Whole-number results do not acquire unnecessary decimal zeroes. This makes a quick answer readable, but the displayed figure is a rounded representation of the browser's calculation.
The underlying arithmetic uses JavaScript numbers. Their floating-point representation cannot store every decimal fraction exactly. MDN's Number reference explains that representation and its limits. A familiar example is adding 0.1 and 0.2: the displayed answer is 0.3, although the internal binary calculation can contain a tiny rounding difference.
Keep intermediate expressions intact when possible. (1 / 3) * 3 displays 1. If you copy the rounded display of one third, 0.33333333, into a new expression and multiply it by 3, you get 0.99999999. That discrepancy comes from reusing the rounded intermediate value.
Very large integers can lose unit-level precision before a calculation overflows. JavaScript's safe-integer range ends at 9,007,199,254,740,991 on the positive side. This page is therefore unsuitable for verifying enormous integer identifiers or exact financial ledgers. For a bill, keep the unrounded expression and apply the rounding rule required by the relevant invoice or agreement. Do not treat eight displayed decimals as a promise of arbitrary precision.
How can you keep and compare a result?
After a successful calculation, Copy result copies the displayed value. Save as baseline keeps that result for comparison during the current page session. Run a second expression to see the old and new values together. For ordinary numeric results, the comparison can also show the change between them.
For example, calculate 4 * 79.5 to get 318 and save it as a baseline. Change the quantity to 5 * 79.5 and run again. The new result is 397.5, a difference of 79.5. This is useful for checking how one changed input affects a total.
Download CSV creates a file containing the tool identifier and result, with the saved baseline included when available. It is a result export, not a complete calculation notebook. Keep the original expression and the meaning of its units separately. Reset fields clears the result and the baseline.
The arithmetic runs in your browser. Website delivery and analytics are separate from the calculation itself; the privacy policy describes the site's wider data practices. Avoid typing account numbers or other confidential identifiers when a made-up sample would answer the arithmetic question just as well.
When is a specialist calculator a better choice?
Use the percentage calculator when you want a stated percentage of a value. In this expression field, 15 percent of 840 must be written as 840 * 15 / 100; the percent sign itself is unsupported. The percentage tool has labelled fields that make those two inputs clearer.
For a long list, the average calculator accepts separate values and reports their count. It is easier to check whether every observation has been included there than in a manually typed sum. The mean, median and mode calculator is useful when one average would conceal how the values are distributed.
Use dedicated power, square-root or logarithm tools for those operations. A caret does not turn this basic expression field into an exponent calculator. Loan, investment and tax estimates also depend on assumptions beyond a few arithmetic signs. Their specialist pages describe the rate, timing or calculation mode involved. Choose the tool whose inputs match the question, then check the assumptions before relying on the result.
Frequently asked questions
Can this calculator add fractions?
Yes, when you express each fraction as a division. Enter 1 / 2 + 1 / 4 to obtain 0.75. For a fraction with a multi-term numerator or denominator, use parentheses to preserve its meaning. The output is a decimal value; this tool does not convert the answer into a reduced fraction.
Why is 6 / 2 * (1 + 2) equal to 9?
The group becomes 3, and division and multiplication are then evaluated from left to right: 6 divided by 2 is 3, and 3 times 3 is 9. If you intend 2 times the group to be the whole denominator, enter 6 / (2 * (1 + 2)), which gives 1.
Can I enter thousands separators?
Leave commas out of the expression. For one thousand two hundred fifty plus seventy-five, enter 1250 + 75. The display can add grouping separators to a large result, but the input grammar does not accept those separators inside a number. Recheck pasted amounts from spreadsheets before calculating.
Can I type scientific notation such as 1e6?
No. Write the full ordinary number, such as 1000000, in this expression field. Although browser numbers have a wide numeric range, the input parser intentionally accepts a narrower arithmetic notation. Support in an underlying programming language does not mean every language feature is available through the form.
Why can a very small answer display as zero?
The display rounds to eight decimal places. A positive result smaller than that display precision can therefore appear as zero. For example, 1 / 1000000000 is mathematically one billionth, but its displayed value rounds to 0 here. Use a tool with an appropriate precision format when that distinction matters.
Does the CSV contain every expression I tried?
No. It exports the current result and any saved baseline, not a history of everything entered. Save the expression in your own notes if you need a reproducible record. After changing quantities or prices, check the current displayed result before downloading so the file matches the calculation you intend to keep.
Can I use the calculator on a phone without registering?
Yes. The tool is free to use without a MoneyOr account. Tap the expression field and use your device keyboard to enter the supported symbols. A phone keyboard may place parentheses or the asterisk on a secondary symbol screen. The same arithmetic rules apply on desktop and mobile.
What should I do if Copy result does not work?
Select the displayed number and copy it manually. Clipboard access can depend on browser support and permission settings. You can also download the result as CSV. A clipboard problem does not change the arithmetic result, so there is no need to replace your numbers simply because copying failed.
Sources
- OpenStax: Prealgebra 2e: 2.1 Use the Language of Algebra. Retrieved 2026-11-14.
- MDN Web Docs: Number. Retrieved 2026-11-14.