What is an A/B test?
An A/B test is an experiment in which two versions of a web page, email or ad are shown at the same time to randomly split visitors. It measures which version reaches the desired goal—such as an inquiry or a purchase—more often.

A/B test: definition and purpose
In an A/B test, version A (the current one) is tested against version B, which contains exactly one deliberate change. Visitors are assigned at random so that both groups are comparable. In the end, real user data shows which version generates more inquiries, purchases or clicks—instead of opinions or gut feeling deciding.
Typical test subjects are headlines, images, button text, form length, price displays or newsletter subject lines. A related method is the multivariate test, which combines several elements at once but needs far more visitors. For most mid-sized company websites, the classic A/B test with a single change is the more practical choice.
How an A/B test works
It starts with a hypothesis, for example: “A button saying ‘Request a free quote’ leads to more inquiries than ‘Submit’.” Next, the target metric is defined, such as the conversion rate. Testing software splits the traffic at random, counts the results for each version and calculates whether the difference is reliable or could be down to chance.
Duration is critical. A test should run for at least full weeks to even out weekday effects, and it should only end once the visitor number calculated in advance has been reached. Anyone who checks in between and stops at the first lead often makes wrong decisions, because early swings frequently disappear again.
Real-world example: a tradesperson’s inquiry form
A tiling contractor suspects that its contact form with eight required fields puts prospects off. Version B asks only for name, phone number and the service wanted; details are clarified in a callback. Both versions run in parallel for several weeks, and the metric is submitted inquiries per hundred visitors. Everything else on the page stays unchanged, so the difference can clearly be attributed to the form.
If the short version shows a clear lead, it becomes the new standard and the next test follows, for example on the headline. If there is no difference, that is a result too: the form was apparently not the problem, and the effort goes into other levers such as load time or trust elements.
Limits, common mistakes and implementation
Meaningful tests need enough visitors. With a conversion rate of around two percent, small differences often require several thousand to a few tens of thousands of visits per version. Sites with little traffic are better off testing bigger changes or relying on user feedback first. Measurement and consent also need to be sorted out: depending on the tool, consent may be required.
Nano Concepts sets up A/B tests cleanly, makes sure the testing tool does not slow your site down, aligns measurement and cookie consent, and evaluates the results together with you, so that insights turn into concrete improvements to your site and processes.
- Only one change per test, otherwise the cause stays unclear
- Define the hypothesis and target metric before starting
- Plan duration and visitor numbers in advance; don’t stop early
- Don’t run several tests on the same page at the same time
- Document the results—including tests without a winner
Frequently asked questions about A/B test
At least one to two full weeks, ideally until the visitor number calculated in advance has been reached for each version. This evens out weekday and time-of-day effects. With little traffic it can take much longer; stopping early often leads to wrong conclusions.
That depends on your current conversion rate and the improvement you expect. The smaller the expected difference, the more visitors you need. A sample size calculator can work out the number in advance; with very little traffic, user tests are often more useful.
In an A/B test, two versions differ in one element. A multivariate test combines several changes, such as headline and image, and tests all combinations. It yields more insights but needs far more visitors, so it suits mainly high-traffic pages.
That depends on the tool. If identifiers are stored on or read from the visitor’s device, consent is usually required. Solutions that work without such access are possible. Clarify this with your data protection officer before you start.
Matching services

Landing Page Creation
Landing pages for ads and campaigns – one offer, one goal, measurable results. Concept and design with LOMA DESIGN.
Learn more
UX Audit & Usability Testing
Expert review and tests with real users – for a prioritized list of usability problems in your website, app or software.
Learn more
UI/UX Design
Interfaces for software, apps and portals – researched, tested as a prototype and designed with LOMA DESIGN.
Learn moreRelated terms
Relevant for these industries
Related magazine articles

Customer Experience and User Journey: Less Friction, More Trust
Customers experience your company across many stages. Here is how to make the user journey visible, remove friction points and improve the customer experience for good.
Read more
WCAG 2.2 and BITV 2.0 in Practice: Implementing Web Accessibility
How to implement a website to WCAG 2.2 AA: new criteria, clear responsibilities across design, development and editorial, effective testing and a checklist for your relaunch.
Read more
Entrepreneur Game: A Business Simulation for Founders and Entrepreneurs
Invest, hire, market – without real risk: the Entrepreneur Game is a realistic simulation game for founders and entrepreneurs in the making. A project by three partners – and a look at what you can learn from it for your own gamification projects.
Read more