Addition of two numbers
P1functional- Enter 2 + 3 =
- Read the result
Expected: The result is 5.
These calculator test cases are a classic QA practice and interview set: the four operations and order of operations, decimals and rounding, divide-by-zero, percentage and sign change, memory keys, clear and backspace, overflow and very large numbers, and rotation. Download them as CSV or Excel and use them to practise writing and running cases.
They assume a standard phone calculator app. This is a learning set — a simple, well-understood app where you can focus on writing clear steps, expected results and edge cases rather than on business logic.
Expected: The result is 5.
Expected: The result is 5.
Expected: The result is 42.
Expected: The result is 5.
Expected: The result is -5, shown with a minus sign.
Expected: If the app honours precedence, the result is 14; if it is a simple sequential calculator, document 20 — verify against the intended design.
Expected: The result is 20.
Expected: The result is 0.3, formatted to the app's precision (no raw floating-point artefact shown).
Expected: The result is 3.3333 rounded to the app's stated precision, consistently.
Expected: The app ignores the second decimal point; only one is accepted.
Expected: The app shows an error (e.g. 'Cannot divide by zero') or 'Infinity' per design, and does not crash.
Expected: The app shows the defined error/NaN state and recovers.
Expected: The result follows the app's percentage rule (e.g. 20); verify against the intended behaviour.
Expected: The displayed value becomes -5; pressing again returns 5.
Expected: The result is 3; square root of a negative shows the defined error.
Expected: MR recalls 5; M+ accumulates into memory correctly.
Expected: After MC, MR recalls 0 / empty.
Expected: C clears the current entry; AC clears everything to 0 per design.
Expected: The display shows 12.
Expected: Per design, repeating = applies +3 again to give 8, or does nothing — verify against intended behaviour.
Expected: The calculator uses 5 as the starting value, giving 10.
Expected: The app switches to scientific notation or shows an overflow state, without crashing.
Expected: Input stops at the max length; no overflow of the display or crash.
Expected: Every key responds, is correctly labelled, and has an adequate tap target.
Expected: The current value and state are preserved; scientific layout appears in landscape if designed.
Expected: Each key and the result are announced meaningfully.
300+ companies · 127,000+ bugs reported · 20,000 testers on real phones · since 2010 · see a sample report
From ₹9,999 + GST, report in 3 business days. Our testers run your cases on the phones, laptops and browsers real Indian users own — on Jio, Airtel and Vi — and send back a verified pass/fail report.
Join 20,000+ testers who run real apps on their own phones and get paid for every verified bug.
One email a month. Unsubscribe anytime.
A calculator is the standard exercise for learning to write test cases because the rules are known and the edge cases are rich: divide-by-zero, floating-point rounding, operator precedence, overflow and input limits. It teaches you to separate the happy path from the edges and to write a precise expected result.
It is a practice set in our Practice group, alongside pen, ATM and lift. Use it to learn; for real app releases, see the app flows like login, UPI payment and checkout.
26 cases
28 cases
99tests runs your test cases on the phones, laptops and browsers your users own — verified pass/fail report in 3 business days.