Boundary Value & Equivalence Partition Calculator
Enter the valid range for a field. You get the exact values to test with boundary value analysis, the equivalence partitions, and a test case table you can copy.
๐ Runs entirely in your browser. Nothing you enter is sent to a server.
Worked example: ticket quantity 1 to 10
A booking form accepts 1 to 10 tickets. Testing 5 tells you very little. The bugs hide at the edges: a developer who wrote quantity < 10 instead of quantity <= 10 breaks exactly one value, 10.
- 2-value BVA: 0 (reject), 1 (accept), 10 (accept), 11 (reject).
- 3-value BVA: 0, 1, 2, 9, 10, 11.
- Partitions: any value below 1, any value from 1 to 10, and any value above 10.
Six values cover the range better than fifty random ones. Add the negative inputs listed under the results, and you have a full set of test cases for one field. Need realistic values for the other fields? Use thetest data generator.
Frequently asked questions
What is boundary value analysis?
A test design technique where you test the values at the edges of a valid range, because that is where off-by-one bugs live. A field that accepts 1 to 10 is tested with 0, 1, 10 and 11, rather than random values.
What is the difference between 2-value and 3-value BVA?
2-value BVA tests each boundary and its nearest invalid neighbour (0, 1, 10, 11 for a 1โ10 range). 3-value BVA also tests the nearest valid neighbour inside the range (0, 1, 2, 9, 10, 11). Use 3-value for risky fields such as prices, quantities and age limits.
What is equivalence partitioning?
Splitting all possible inputs into groups that the system should treat the same way, then testing one value from each group. For a 1โ10 field there are three groups: below 1, 1 to 10, and above 10.
What step should I use?
Use the smallest change the field allows: 1 for whole numbers, 0.01 for money, 0.1 for one decimal place.