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 T-Test? Definition, Formula & Guide
Definition

What Is T-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 →

Articles about What Is T-Test? Definition, Formula & Guide

In-depth guides and case studies where this concept is put to work.

  • A/B Testing Popups: Exit Intent, Welcome, Slide-In
  • A/B Testing with Low Traffic: What to Do
  • AI-Powered A/B Testing: How It Works
  • A/B Testing Tools for Small Business
  • A/B Testing CTA Buttons: Color, Copy, Placement
← 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 t-test is a statistical test that compares the means of two groups to determine whether the difference between them is statistically significant. In A/B testing, t-tests are most appropriate for continuous metrics — average order value, revenue per visitor, time on page, or items per cart — where you are comparing averages rather than proportions. The t-test accounts for the variability within each group (the spread of individual order values) when calculating whether the mean difference is meaningful or just noise.

Formula / How a T-Test Works

For an independent samples t-test (the type used in A/B testing):

t = (Mean₁ − Mean₂) / √[(s₁²/n₁) + (s₂²/n₂)]

Where:

  • Mean₁, Mean₂ = sample means for control and variant
  • s₁², s₂² = sample variances
  • n₁, n₂ = sample sizes

The t-statistic is converted to a p-value using a t-distribution with degrees of freedom ≈ n₁ + n₂ − 2. If p < 0.05, the difference in means is statistically significant at the 95% confidence level.

Why T-Tests Matter for Ecommerce

Conversion rate tests use chi-square or z-tests (binary outcomes). But when your experiment's success metric is average order value, cart size, or revenue per visitor, those tests don't apply — you need a t-test. AOV data in ecommerce is notoriously noisy: most orders cluster around a typical value, but a small number of high-value orders skew the mean. The t-test handles this by incorporating variance directly into the significance calculation, meaning it's less likely to be fooled by a few outlier orders into declaring a spurious winner.

Real-World Example

Sugar Cosmetics ran a bundle recommendation experiment where the variant showed "Frequently Bought Together" sets on the cart page. Their primary metric was AOV. Control AOV: ₹1,140 (standard deviation ₹680, n = 8,200). Variant AOV: ₹1,290 (SD ₹710, n = 8,400). Running a two-sample t-test gave t = 8.7, p < 0.001 — a highly significant result. The high SD (large spread in order values) was expected for a cosmetics brand with a wide price range; the t-test correctly accounted for this variance and confirmed the result was genuine.

When to Use a T-Test vs. Other Tests

  • Use t-test for continuous metrics: AOV, RPV, session duration, items per cart.
  • Use chi-square or z-test for binary metrics: conversion rate, click-through rate, form completion rate.
  • Use Mann-Whitney U test (non-parametric alternative) when AOV or revenue data is heavily skewed — it's more accurate when distributions are very non-normal.
  • Use Welch's t-test (the default in most software) when the two groups may have unequal variances.

How to Apply T-Tests Correctly

  • Check that your sample sizes are sufficient — t-tests require reasonably large samples (typically 30+ per group) to be reliable.
  • Look for and cap extreme outliers in revenue data before running the test, or consider a log transformation.
  • Treat AOV as a secondary metric in most tests; use revenue per visitor as the primary metric since it includes both conversion rate and AOV effects.
  • Use two-tailed t-tests unless you have a strong prior justification for a one-tailed test.

T-Test in A/B Testing

Advanced testing platforms allow you to specify revenue or AOV as an experiment metric and will apply a t-test automatically. In Python, scipy.stats.ttest_ind runs an independent samples t-test; in R, t.test() does the same. Understanding which test your platform uses for which metric type helps you interpret results accurately.

Related Terms

  • Z-Test
  • Chi-Square Test
  • Statistical Significance
  • Hypothesis Testing
  • Effect Size
  • Statistical Power

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