Quick answer
An orthogonal array is a table of experimental runs in which every pair (or set of t) factor columns contains each combination of levels equally often. It estimates each factor's main effect with a fraction of full-factorial runs, for example 7 two-level factors in 8 runs instead of 128.
Formula: Full factorial runs = levels^factors; an L8(2^7) array tests up to 7 two-level factors in 8 runs instead of 2^7 = 128
What is an orthogonal array?
An orthogonal array is a table of test runs in which every pair of factor columns (or, more generally, every set of t columns) contains each combination of levels the same number of times. Rows are runs, columns are factors, and entries are factor levels. That balance lets you estimate the main effect of each factor from far fewer runs than testing every combination.
Two notations are common. Statisticians write OA(N, k, s, t): N runs, k factors, s levels per factor, strength t. Taguchi's catalogue writes L_N(s^k), so L8(2^7) is an 8-run array for up to seven two-level factors. The NIST/SEMATECH e-Handbook describes Taguchi's designs as related to, and similar to, ordinary fractional factorial designs; an orthogonal array is the table behind a fractional factorial experiment.
Full factorial vs orthogonal array: how many runs?
A full factorial design tests every combination: runs = levels^factors. An orthogonal array keeps only a balanced subset.
| Factors and levels | Full factorial runs | Orthogonal array | Array runs |
|---|---|---|---|
| 3 factors × 2 levels | 2^3 = 8 | L4(2^3) | 4 |
| 7 factors × 2 levels | 2^7 = 128 | L8(2^7) | 8 |
| 4 factors × 3 levels | 3^4 = 81 | L9(3^4) | 9 |
| 15 factors × 2 levels | 2^15 = 32,768 | L16(2^15) | 16 |
For a website, a "run" is one page version that receives a share of traffic. Halving or eliminating most versions matters because every version needs its own share of visitors, as the multivariate testing page shows for full-factorial designs.
Worked example: an L4(2^3) landing-page test
Sample data: three two-level factors on a sign-up page. Headline (A: 1 = current, 2 = benefit-led), call-to-action colour (B: 1 = blue, 2 = green), hero image (C: 1 = product shot, 2 = customer photo). The L4 array uses four page versions, each shown to 5,000 visitors:
| Run | A headline | B colour | C image | Visitors | Sign-ups | Rate |
|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 1 | 5,000 | 200 | 4.0% |
| 2 | 1 | 2 | 2 | 5,000 | 230 | 4.6% |
| 3 | 2 | 1 | 2 | 5,000 | 260 | 5.2% |
| 4 | 2 | 2 | 1 | 5,000 | 250 | 5.0% |
Balance check: for every pair of columns (A–B, A–C, B–C), the level pairs (1,1), (1,2), (2,1) and (2,2) each appear exactly once. That is strength 2, and it is why each factor's effect can be read with the other two balanced out.
Main effects (mean rate at level 2 − mean rate at level 1):
- Headline A: runs 3–4 average (5.2 + 5.0) ÷ 2 = 5.1%; runs 1–2 average 4.3%; effect +0.8 points.
- Colour B: runs 2 and 4 average 4.8%; runs 1 and 3 average 4.6%; effect +0.2 points.
- Image C: runs 2 and 3 average 4.9%; runs 1 and 4 average 4.5%; effect +0.4 points.
Each comparison pits 10,000 visitors against 10,000. With the pooled rate of 4.7%, the standard error of a difference is √(0.047 × 0.953 × 2 ÷ 10,000) = 0.30 points, giving z ≈ 2.67 for the headline (two-sided p ≈ 0.008), z ≈ 0.67 for colour (p ≈ 0.50) and z ≈ 1.34 for the image (p ≈ 0.18). Only the headline effect is distinguishable from noise.
When the shortcut breaks: interactions and confounding
The L4 array saves four runs by giving up information. Coding level 1 as −1 and level 2 as +1, column C equals −(A × B) in every row, so the image effect is confounded (aliased) with the headline × colour interaction. NIST's handbook shows the same structure for the 2^(3−1) half fraction: each main effect is confounded with a two-factor interaction, and the design only works if those interactions are small (the sparsity-of-effects assumption).
In the example, the +0.4-point "image" effect could be a real image effect, a headline × colour interaction, or a mix. Decision rules:
- If you expect factors to interact (for example, a headline and an image that make the same promise), do not put an interaction you care about on an aliased column; use a larger array or a full factorial.
- If a confounded effect looks important, run the complementary half (the four combinations not tested: −1 × −1 × +1 and so on). The two halves together form the full 2^3 design and separate C from A × B.
- If effects are small and you only need to rank factors, a strength-2 array is usually enough.
Sample size and power with an orthogonal array
Every visitor contributes to every main-effect comparison, which is the efficiency gain: four versions of 5,000 visitors give each factor a 10,000-vs-10,000 comparison. The statistical power to detect a main effect therefore depends on the half-sample size, not the run size.
With the numbers above, the minimum detectable effect at 80% power and a two-sided α of 0.05 is about (1.96 + 0.84) × 0.30 = 0.84 points. The headline's +0.8 sits right at that line; the colour and image effects sit well below it. If a 0.4-point effect matters, the sample size has to roughly quadruple, because the standard error shrinks with the square root of traffic.
Orthogonal array vs full factorial vs A/B test
| Design | Versions for 3 two-level factors | What you can estimate | Main risk |
|---|---|---|---|
| A/B test, one factor at a time | 2 per test, 3 tests in sequence | One factor per test | Slow; misses interactions completely |
| Full factorial (multivariate) | 8 | All main effects and interactions | Traffic spread over many versions |
| Orthogonal array L4(2^3) | 4 | Main effects only | Confounding with interactions |
All three are controlled experiments: random assignment is what makes the differences causal. The orthogonal array changes only which combinations are tested.
Orthogonal array testing in software QA
The same arrays are used to cut test cases. With four configuration parameters (browser, operating system, language, plan), each with three values, exhaustive testing needs 3^4 = 81 cases. An L9(3^4) array covers every pair of values across any two parameters in 9 cases. That catches defects triggered by one parameter value or a pair of values, but not by a specific three-way combination, which is the same trade-off as confounding in an experiment.
Common mistakes
- Reading a confounded column as a pure effect. Check the alias structure before reporting.
- Too little traffic per half. The array cuts versions, not the visitors needed per comparison.
- Unequal traffic across runs. Balance holds only if each run gets a comparable share; reweight or rerun otherwise.
- Counting bots in the denominator. Automated traffic dilutes every rate equally and hides small effects.
Measuring an orthogonal-array test in TapCub
TapCub does not split traffic or assign variants; the assignment of visitors to runs 1–4 happens in your experiment tool or your own code. TapCub measures the outcome of each run:
- Tag each visit with its run. Send the run number and factor levels as event properties (for example
oa_run = 3,headline = 2) on the page view or a custom event. - Count conversions per run. In All-platform analytics › Behavior › Event analysis, break the sign-up event down by
oa_run, and compare with page views per run from the same breakdown, to rebuild the four-row table. - Compute the main effects. In All-platform analytics › Behavior › Metrics & SQL, group by each factor property instead of by run to get the level-1 and level-2 rates directly.
- Keep the denominators human. Bots and AI crawlers are counted separately in Web analytics › Bots and do not enter visitor counts or conversion rates.
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods, 5.5.6 What are Taguchi designs?, checked 2026-11-29.
- NIST/SEMATECH e-Handbook of Statistical Methods, 5.3.3.4.3 Confounding (also called aliasing), checked 2026-11-29.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Technical Engineer
Focuses on tracking code, SDKs, and API integrations, with practical guidance on implementation checks and troubleshooting.