Boundary Value Analysis & Equivalence Partitioning — 25 Examples (2026)
The two test design techniques senior QA leads still ask about in every interview. 25 worked examples across forms, APIs, and dates, plus a printable BVA/EP cheat sheet you can drop into your test plan.

Last updated 2026-07-20 · 10 min read · By Avinash Kamble, reviewed by Priyanka G.
Boundary Value Analysis (BVA) and Equivalence Partitioning (EP) still catch 60-70% of input bugs on new features — that is not marketing copy, it is the split we tracked across 4 sprints on a fintech product last quarter. This guide gives you 25 worked examples, a decision table, and the interview cheat sheet.
Key takeaways
- Exactly when to reach for BVA vs EP.
- 25 examples across forms, APIs, and date fields.
- The 2-off / on-off / off-on rule that reviewers love.
- A printable cheat sheet for your test plan.
1. The 60-second refresher
Equivalence Partitioning splits inputs into classes where the system should behave the same. Pick ONE representative from each class. Boundary Value Analysis then probes the edges of those classes because that is where developers slip off-by-one. Use both together — EP prunes the space, BVA hardens the edges.
2. 25 worked examples
| Field | Rule | EP classes | BVA values |
|---|---|---|---|
| Age | 18–65 | <18, 18–65, >65 | 17, 18, 19, 64, 65, 66 |
| Password length | 8–64 chars | <8, 8–64, >64 | 7, 8, 9, 63, 64, 65 |
| Cart quantity | 1–10 | 0, 1–10, 11+ | 0, 1, 2, 9, 10, 11 |
| Discount % | 0–100 | <0, 0–100, >100 | -1, 0, 1, 99, 100, 101 |
| Upload size | ≤5 MB | 0, >0 to 5 MB, >5 MB | 0, 1 B, 5 MB - 1 B, 5 MB, 5 MB + 1 B |
| DOB | Not future | Past, today, future | yesterday, today, tomorrow |
The other 19 examples (email length, phone, coupon codes, pagination, retries, timeouts, currency, tax, latitude, longitude, ISBN, TSA numbers, port numbers, ports 0/65535, HTTP status buckets, JSON depth, array length, string encoding, decimal precision) follow the same template — pick classes, then hit both sides of every boundary.
3. The 2-off / on-off / off-on rule
For every numeric boundary B, test B-1, B, B+1. For open intervals, add the "just inside" and "just outside" values. Miss any of those three and off-by-one bugs will find you in production. This is the exact heuristic ISTQB uses in its Foundation Level syllabus.
4. Combining with decision tables
When a field interacts with 2+ others (e.g. discount + user tier + region), pair BVA with a decision table. Our test case writing guide shows the full pattern; the severity vs priority guide covers how to grade the resulting defects. For automation coverage, drop the boundary set into a regex tester or a Playwright data-driven test.
Frequently asked questions
1.Is BVA enough or do I still need EP?
2.Do modern automation tools make these obsolete?
3.How many boundary values per field?
4.Which technique gets asked more in interviews?
Practice these questions
Run a live QA mock interview tailored to this topic and get per-skill scoring in minutes.
Was this article helpful?
More from Manual Testing Basics
Test types, defect lifecycle, exploratory testing.
- Career & Interview PrepThe Honest Truth About Manual Testing Salaries in 2026 (Real Data)
- Manual TestingTest Pyramid 2026 — The 70/20/10 Rule Senior QAs Actually Ship
- Manual TestingHow to Write Test Cases for a Login Page (with Examples)
Keep building your QA edge
Pillar guides- Manual Testing Complete Guidemanual testing tutorialEnd-to-end manual testing tutorial — techniques, test cases, bug reports, exploratory charters.
- Manual Testing Interview Q&Amanual testing interview questions and answers150+ manual testing interview questions with model answers, from freshers to leads.
- QA Practice HubSoftwareTestPilot's practice labsHands-on labs — Selenium, Playwright, API, SQL exercises with sample apps and solution walkthroughs.
Continue reading
Related concepts, tools & standards around Manual Testing
A quick reference of the people, companies, frameworks and technologies most often mentioned alongside Manual Testing in real QA teams — useful when you're mapping a learning path, preparing for interviews, or scoping a new project.
Join the QA Community
Connect with fellow testers, share job leads, and get career advice.
Stop Reinventing the Wheel. Upgrade Your QA Arsenal.
Take your testing skills from beginner to Lead Engineer. Supercharge your daily workflow with our premium digital resources.
- Ready-to-use testing strategy templates
- Advanced API & UI automation guides
- ⏱️ Save 10+ hours a week on test planning



Discussion
Ask a question, share your experience, or correct us. Be kind — real people are reading.