Skip to content
Glossary · Hosting and delivery

A/B test

Also called split test, AB test.

Definition

An experiment that shows two versions of something to random groups of users and measures which one does better on a chosen metric.

Last updated

What it is.

Users are split at random: group A sees the current version, group B sees the change. After enough people have taken part, you compare a metric you chose up front, such as sign-ups or checkout completion, and check whether the difference is bigger than chance would explain.

A/B tests are usually run through a feature flag system, which decides who sees which version and records it, so results can be tied back to each group.

Why it matters

Opinions about what users want are often wrong. An A/B test replaces a debate with evidence and stops a team from shipping changes that quietly hurt the numbers. It only works with enough traffic and a clear question.

In a product build

We assign users to groups on the server so they stay in the same group across devices, log each exposure as an event, and send results to the data warehouse for analysis. Every test has a written metric, a minimum sample size and an end date before it starts.

Watch out

Common mistakes.

  1. 01

    Stopping the test the moment it looks good, before the planned sample size.

  2. 02

    Watching many metrics and reporting the one that happened to move.

  3. 03

    Running tests on pages with too little traffic to ever give a clear answer.

Related

Related terms.

Building something with this? Ask an engineer.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab