CustomFit.ai — Website personalization, A/B testing and CRO for Shopify and D2C
Product
Features
✱
Website Personalization
Adapt to each visitor's behavior & intent
⧖
A/B & Multivariate Testing
Rigorous experimentation
✨
AI CopilotNEW
Personalize with a prompt
🤖
AI WingmanNEW
Auto-optimize toward winners
🎯
AI Conversion OptimizerNEW
GPT-grade test ideas
✎
No-Code Visual Editor
Drag-and-drop edit any element
▦
Product Recommendations
Personalized recs that lift AOV
⚑
Feature Flags
Ship safely with kill-switches
◧
Chrome Extension
Edit your store in the browser
⧉
Shopify, WooCommerce & more
All platform integrations
View all features →
Use Cases
$
Price A/B Testing
Test price points to maximize revenue
▦
Theme A/B Testing
Compare whole layouts & designs
🗂
Template A/B Testing
Test whole PDP/PLP templates
🏷
Discount A/B Testing
Find the offer that converts
🚚
Shipping A/B Testing
Thresholds, speed & copy
✍
Content A/B Testing
Copy, images & reviews
💳
Checkout Gateway A/B
Payments & one-click
⌖
Geo-Based Personalization
Per-location content & offers
⚡
Buyer-Intent Nudges
Exit-intent & retargeting
↔
Split-URL / Redirection
Full-page redirect tests
View all use cases →
Solutions & Guides
⤢
Conversion Rate Optimization
The complete CRO guide
⧖
A/B Testing Software
Buyer's guide for D2C
🛒
Cart Abandonment Recovery
Win back lost carts
📰
Landing Page Optimization
Convert more paid traffic
S
Shopify A/B Testing
Test your store, no code
S
Shopify Personalization
Tailor the store per shopper
◔
First-Time Visitor Offers
Convert new shoppers with trust & offers
★
Repeat-Customer Experiences
Reward and re-engage loyal buyers
◎
Campaign-Matched Pages
Match the landing page to the ad
⌖
Location-Based Experiences
Currency, language & regional offers
Explore CRO →
Customer stories
GIVA
+32%
conversion via personalized recs
GIVA
Mamaearth
+18%
revenue lift from PDP A/B tests
ME
The Sleep Company
+24%
AOV from product recommendations
TSC
Read customer stories →
Integrations
SWsfGA+15
✦
Not sure where to start?
Let AI Copilot pick your first tests

“We wake up to evidence-backed tests ready to deploy — not a backlog of maybe ideas.”

AN
Anirudh S.
Growth · Chargebee
★★★★★4.8on G2 · 2,400+ brands
Talk to our team →
Widgets
Integrations
Ecommerce & Checkout
Shopify
Shopline
Shoplazza
GoKwik
ShopFlo
Razorpay Magic Checkout
Breeze
Shiprocket
View all integrations →
Analytics & Behavior
Google Analytics 4
Microsoft Clarity
Hotjar
Mixpanel
Amplitude
Heap
Adobe Analytics
Segment (CDP)
View all integrations →
Engagement, CRM & More
Klaviyo
MoEngage
CleverTap
WebEngage
HubSpot
Salesforce
Slack
Meta Ads
View all integrations →
CustomersPricing
Resources
CRO
▤
Playbooks
Proven strategies to boost conversions
🎙
Interviews
D2C leaders & marketing experts
▶
Webinars
Live deep dives & product sessions
Learn
✎
Blog
Tips, experiments & best practices
📕
Free E-Books
Mastering personalization
📖
Conversion Glossary
Every CRO term, defined
✦AI CopilotNEWLog inBook a demo
Start free trial
Select your platform — Install in 2 minsWe'll tailor the setup
⚡ Risk-free 14-day trial · No credit card · Cancel anytime
S
Shopify
Install from Shopify App Store
›
W
WooCommerce
Install the WooCommerce plugin
›
B
BigCommerce
Install from BigCommerce App Marketplace
›
SL
Shopline
Install from Shopline App Store
›
M
Salesforce / Magento
Install from the marketplace
›
SZ
Shoplazza
Install from Shoplazza App Store
›
WP
WordPress / Webflow
Install plugin or paste the script
›
◧
Others
Custom-built on React, Next.js, etc.
›
Tip: pick your platform — we handle the restBook a demo →
Product
Website PersonalizationA/B & Multivariate TestingAI CopilotAI WingmanAI Conversion OptimizerNo-Code Visual EditorProduct RecommendationsFeature FlagsView all features →
Use Cases
Price A/B TestingTheme A/B TestingTemplate A/B TestingDiscount A/B TestingShipping A/B TestingContent A/B TestingCheckout Gateway A/BGeo-Based PersonalizationBuyer-Intent NudgesSplit-URL / Redirection
Solutions & Guides
Conversion Rate OptimizationA/B Testing SoftwareCart Abandonment RecoveryLanding Page OptimizationShopify A/B TestingShopify Personalization
Explore
WidgetsIntegrationsCustomersPricing
Resources
BlogPlaybooksWebinarsInterviewsE-BooksConversion Glossary
Platforms
ShopifyShoplineShoplazzaChrome ExtensionAll integrations
Start free trialBook a demo
Home›Glossary›What Is Z-Test? Definition, Formula & Guide
Definition

What Is Z-Test? Definition, Formula & Guide

Put this into practice

Run A/B tests and personalize your store without code. 14-day free trial, no credit card.

Start free trial →
← Back to Conversion Glossary

Built for every D2C category

🧴
Skincare
💄
Beauty
🌿
Wellness
☕
F&B
👟
Apparel
💍
Jewelry
🛋️
Home
🍼
Baby
Live · Right now
Mamaearth — free-shipping band +12.4% AOVGIVA — festive collection page +34% revenueBellavita — PDP CTA test +27.4% CVRKapiva — Quiz-driven recs +9.48% CTRThe Sleep Co — landing personalized 2× capturesPlum — Returning shopper swap +18.2% CVRMamaearth — free-shipping band +12.4% AOVGIVA — festive collection page +34% revenueBellavita — PDP CTA test +27.4% CVRKapiva — Quiz-driven recs +9.48% CTRThe Sleep Co — landing personalized 2× capturesPlum — Returning shopper swap +18.2% CVR
Get in touch

Tell us about your store.

We reply within an hour during business hours. No sales pitch, no spam — just answers from someone who's seen 2,400+ D2C stores.

✓ Reply within 1 hour✓ No spam, ever✓ Free demo & setup help
✓ Thanks! We'll be in touch shortly.
CustomFit.ai

The all-in-one website personalization, A/B testing & CRO platform for high-growth D2C brands. Made by marketers, fueled by coffee.

in𝕏◎▶f
Product
  • Features
  • A/B Testing
  • Personalization
  • AI Copilot
  • AI Wingman
  • AI Conversion Optimizer
  • Feature Flags
  • Widgets
  • Integrations
  • ROI Calculator
Platforms
  • Shopify
  • Shopline
  • Shoplazza
  • Salesforce
  • Chrome Extension
  • All Integrations
Resources
  • Blog
  • Playbooks
  • Webinars
  • GrowthFit Interviews
  • Free E-Books
  • Conversion Glossary
  • Case Studies
Compare
  • vs VWO
  • vs Optimizely
  • vs Google Optimize
  • vs Mutiny
  • vs Intelligems
  • vs Shoplift
  • vs AB Tasty
  • vs Convert
  • vs Kameleoon
Company
  • About Us
  • Partners
  • CustomFit Awards
  • Recognition
  • Contact
  • Privacy Policy
  • Terms & Conditions
© 2026 CustomFit.ai · Valley Monks Pvt Ltd · Made by marketers, fueled by coffee, and obsessed with conversions.
SOC 2 Type II · GDPR · CCPA · ISO 27001

A z-test is a statistical hypothesis test used to compare two proportions — in A/B testing, most commonly the conversion rates of a control group and a variant group. When sample sizes are large (generally 30+ per group, which is almost always true in ecommerce), the z-test for proportions is the standard method for determining whether the observed difference in conversion rates between two groups is statistically significant or within the range of random variation.

Formula / How to Calculate a Z-Test for Proportions

z = (p₁ − p₂) / √[p̂(1 − p̂)(1/n₁ + 1/n₂)]

Where:

  • p₁ = conversion rate of variant
  • p₂ = conversion rate of control
  • p̂ = pooled conversion rate = (conversions₁ + conversions₂) / (n₁ + n₂)
  • n₁, n₂ = number of visitors in each group

The z-score is then looked up in a standard normal distribution table (or converted using software) to derive the p-value. For a two-tailed test at 95% confidence, the critical z-value is ±1.96.

Why Z-Tests Matter for Ecommerce

The z-test is the engine behind the "confidence" percentage you see in most A/B testing dashboards. When your tool says "95% confident the variant is better," it has computed a z-statistic and found that it exceeds the critical threshold. Understanding this means you can interpret results more accurately — and catch situations where a tool might be using a different variant of the test (e.g., one-tailed vs. two-tailed) than you expect, which changes the effective confidence level.

Real-World Example

Plum Goodness ran a product page test comparing their original CTA ("Add to Cart") against a variant ("Add to Bag — Ships in 24 hrs"). Control: 18,400 visitors, 756 add-to-carts (4.11% CR). Variant: 18,600 visitors, 874 add-to-carts (4.70% CR). Pooled proportion: (756 + 874) / (18,400 + 18,600) = 4.41%. z = (0.0470 − 0.0411) / √[0.0441 × 0.9559 × (1/18,400 + 1/18,600)] = 4.82, p < 0.0001. The result was highly significant — the urgency-framed CTA clearly outperformed the generic one.

Z-Test vs. Chi-Square vs. T-Test

  • Z-test for proportions: binary outcomes (converted / not converted), large samples. Equivalent to a chi-square test for 2×2 tables.
  • Chi-square test: same use case, slightly different formulation; produces identical results to z-test at large sample sizes.
  • T-test: continuous metrics (AOV, revenue per visitor) where you are comparing means rather than proportions.

Most A/B testing platforms use z-tests or chi-square tests interchangeably for conversion rate significance.

How to Use Z-Tests Correctly

  • Confirm large sample sizes (30+ per group minimum; ideally hundreds or thousands for reliable ecommerce tests).
  • Use two-tailed z-tests for standard A/B tests — one-tailed tests inflate false positives if used without strong directional priors.
  • Do not run the test before reaching the planned sample size — z-tests computed on partial data are unreliable.
  • Apply Bonferroni correction if you are testing multiple variants or multiple metrics simultaneously.

Z-Test in A/B Testing

The z-test is what most A/B testing platforms compute when you test a binary metric like conversion rate. It's fast, mathematically elegant, and well-suited to the high-volume, binary-outcome nature of ecommerce experimentation. The z-score and its associated p-value are the direct inputs to your significance threshold decision.

Related Terms

  • T-Test
  • Chi-Square Test
  • Statistical Significance
  • Hypothesis Testing
  • Null Hypothesis
  • Statistical Power

Run smarter A/B tests with CustomFit.ai — 14-day free trial, no credit card required.