Using the 4 Function Calculator
The 4 Function Calculator adds, subtracts, multiplies, or divides two numbers you type. The first field is labeled First number and starts at 12. The Operation select starts at Add. The second field is labeled Second number and starts at 3. The button is Calculate. Before a run the headline reads Enter two numbers.
On a successful run the label reads Result. The headline is the finished number. With the defaults and Add, the sentence is 12 plus 3 is 15. and the headline is 15. Subtract prints 12 minus 3 is 9. and the headline is 9. Multiply prints 12 times 3 is 36. and the headline is 36. Divide prints 12 divided by 3 is 4. and the headline is 4.
The page has no percent key, no memory keys, no square root, and no square key. It is two fields and one operation list. Numbers may be negative. Division by zero is refused with The second number must not be 0. An operation that is not add, subtract, multiply, or divide is refused with Choose add, subtract, multiply, or divide.
What the Result Headline Shows
The headline is the result of the operation you chose. It is not the word Result. Result is the label above the headline. The sentence names both inputs, the verb, and the same result. For addition the verb is plus. For subtraction the verb is minus. For multiplication the verb is times. For division the verb is divided by.
The Operation line repeats that verb. The Result line repeats the headline. Copy result copies the sentence, including both numbers and the verb. Reset returns the headline to Enter two numbers and clears the sentence. The form defaults remain available so you can calculate again without retyping 12 and 3.
There is no running total stored between visits. Each click of Calculate reads the two fields that are on the form at that moment. If you change only the operation and leave 12 and 3, the four sentences above are the four results.
A blank first field returns First number is required. A blank second field returns Second number is required. Letters are refused the same way because the fields accept an optional leading minus, digits, and one decimal point.
How the Two Fields Are Calculated
Both numbers are read as signed decimals. The allowed range for each field is at least -1000000000 and at most 1000000000. A number outside that range returns First number must be at least -1000000000 and at most 1000000000. or the same sentence with Second number. Trailing zeros in a decimal are trimmed, so 12.0 is treated as 12 in the sentence.
Addition uses the sum. Subtraction uses the first number minus the second. Multiplication uses the product. Division uses the first number divided by the second, and it stops before any division when the second number is 0. The refusal is The second number must not be 0. The headline stays an error headline in that case, and there is no result line to copy as a quotient.
The select values are add, subtract, multiply, and divide. The visible labels are Add, Subtract, Multiply, and Divide. The sentence never prints those menu labels. It prints plus, minus, times, or divided by.
Interest on a principal is a different product. The Simple Interest Calculator multiplies principal by an annual percent and by years. A principal of 1000 at 5 percent for 2 years earns interest of 100 and a total of 1100. The headline there is the interest. That page does not add two typed numbers. Use it when the sample principal of 1000 should earn interest of 100. Use this page when the sentence should read 12 plus 3 is 15, 12 minus 3 is 9, 12 times 3 is 36, or 12 divided by 3 is 4.
What This Form Does Not Include
This page does not turn a number into a percent of another number. It does not store a memory total. It does not apply a square or a square root. Those actions are not on the form, so a guide that describes a keypad is describing a different calculator.
If you need interest on a principal, that is a separate page. If you need a percentage difference between two measurements, that is a separate page. This page answers only the operation selected between First number and Second number.
Negative signs belong on the number, as in -4, not as a second subtraction command. The operation select already chooses subtraction when you want the first number minus the second. Typing a minus in the middle of a field, or a second decimal point, returns the required-number message because the text is not a single signed decimal.
The about line on the form says 12 and 3 add to 15, subtract to 9, multiply to 36, and divide to 4. That line matches the four sentences from the defaults. It is not a fifth operation.
12 and 3 Through All Four Operations
Leave the defaults and choose Add, then Calculate. The headline is 15. The sentence is 12 plus 3 is 15. The Operation line reads plus. The Result line reads 15.
Change the select to Subtract and calculate again. The headline is 9. The sentence is 12 minus 3 is 9. Change the select to Multiply. The headline is 36. The sentence is 12 times 3 is 36. Change the select to Divide. The headline is 4. The sentence is 12 divided by 3 is 4.
Other checked inputs stay exact. 10 plus 2.5 is 12.5. and the headline is 12.5. 7 minus 10 is -3. and the headline is -3. -4 times -5 is 20. and the headline is 20. 9 divided by 2 is 4.5. and the headline is 4.5. 8 times 0 is 0. and the headline is 0. Set the second number to 0 and choose Divide. The message is The second number must not be 0.
A compounded amount is a different figure. The Compound Interest Calculator compounds a principal at an annual percent. A principal of 1000 at 5 percent, compounded 1 times a year for 1 years, is 1050. The interest line there is 50. The headline there is the amount. That page does not divide 12 by 3. Use it when the sample principal of 1000 should become 1050. Use this page when you need one of those four sentences from 12 and 3.
Inputs That Do Not Match This Form
A common miss is to look for a percent key. This form has no percent key. 12 times 3 is 36 is multiplication, not 12 percent of 3. Another miss is to expect the headline to stay 15 after you change the select to Subtract. The headline follows the operation on that click.
Another miss is dividing by zero and reading a quotient. The page refuses that case. The second number must not be 0. Another miss is typing a comma, as in 1,000. The field wants 1000. A comma makes the text fail the number check, and the message is First number is required. or Second number is required.
Another miss is treating a negative result as an error. 7 minus 10 is -3. is a successful sentence. The headline is -3. The minus sign is part of the result, not a refusal. Another miss is expecting the page to remember the last result as the next first number. It does not chain. Type the next pair yourself.
A comparison that does not pick a base is a different percent. The Percentage Difference Calculator uses the absolute difference divided by the average of the absolute values, times 100. The absolute difference of 40 and 50 is 10. The average of the absolute values is 45. The percentage difference is 22.22. That page does not subtract 3 from 12. Use it when you are comparing 40 and 50. Use this page when the headline should be the result of add, subtract, multiply, or divide.
Keeping the Sentence With Both Numbers
Copy the sentence when a note needs both inputs and the verb. The headline alone is 15, 9, 36, or 4 for the default pair, and those four headlines can belong to other pairs on another day. The sentence is what ties 12 and 3 to the result.
The Operation line and the Result line repeat the verb and the number. A screenshot can show the select as Add while the sentence says plus. Both are correct. The select is the control. The sentence is the record.
A margin from revenue and cost is a different percent. The Profit Margin Calculator subtracts cost from revenue and divides that profit by revenue. Revenue of 200 and cost of 150 give profit of 50 and a margin of 25 percent. The headline there is the margin percent. That page does not multiply 12 by 3. Use it when the inputs are revenue and cost and the sample margin is 25 percent. Use this page when the record you need is 12 times 3 is 36 or another sentence from the two fields.
One Operation and a Printed Result
The button stays Calculate. The waiting headline stays Enter two numbers until a run succeeds or a field is refused. The label on success stays Result. The four verbs stay plus, minus, times, and divided by.
Checking the Four Default Results
Start from the defaults. Confirm Enter two numbers before the first click. Confirm 12 plus 3 is 15. Then walk Subtract, Multiply, and Divide and confirm 9, 36, and 4. Then set the second number to 0 with Divide and confirm The second number must not be 0.
A sale price after one discount percent is a different reduction. The Discount Calculator multiplies a price by one percent and subtracts. A price of 80 at 25 percent is a discount of 20 and a sale price of 60. The headline there is the sale price. That page does not add 12 and 3. Use it when the sample price of 80 at 25 percent should return a sale price of 60. Use this page when you are checking the four sentences from the default numbers.