# Contacts for A/B testing

**URL:** <https://community.hubspot.com/t/contacts-for-a-b-testing/90916>\
**Category:** Tips, Tricks & Best Practices\
**Created:** [October 2, 2023, 7:21pm UTC](https://community.hubspot.com/t/contacts-for-a-b-testing/90916 "2023-10-02T19:21:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ADoremi](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@ADoremi](https://community.hubspot.com/u/ADoremi)\
**Post date:** [October 2, 2023, 7:21pm UTC](https://community.hubspot.com/t/contacts-for-a-b-testing/90916/1 "2023-10-02T19:21:52Z")

</div>

Hello!

I am new here in HubSPot. Are we creating a lists of grpup from our original contacts? If yes, how many contacts for each group that we need to have?

Appreciate the answer.

Thank you

---

<div class="post-metadata">

**Author:** ![DianaGomez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianagomez/32/48035_2.png) [@DianaGomez](https://community.hubspot.com/u/DianaGomez)\
**Post date:** [October 2, 2023, 7:50pm UTC](https://community.hubspot.com/t/contacts-for-a-b-testing/90916/2 "2023-10-02T19:50:31Z")

</div>

Hi @ADoremi,

Thanks for reaching out to the Community!

It sounds like you are trying to send an A/B test email.

I wanted to share a few valuable resources that could be helpful.

- [Run an A/B test on your page](https://knowledge.hubspot.com/website-pages/run-an-a-b-test-on-your-page)
- [A/B test your marketing email](https://knowledge.hubspot.com/email/run-an-a/b-test-on-your-marketing-email)

I also wanted to invite our subject matter experts to this conversation.

Hi @Lucila-Andimol, @Gilempert, @JuanGomez0818 Do you have any advice for @ADoremi?

Thank you!

Best,

Diana

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [October 3, 2023, 4:33am UTC](https://community.hubspot.com/t/contacts-for-a-b-testing/90916/3 "2023-10-03T04:33:43Z")

</div>

Hi @ADoremi,

Do you want to run an A/B test in HubSpot or do you want to create random lists for other purposes?

To create random samples of your contacts, you could follow these steps if you’re on a Professional or Enterprise subscription: [Create a random sample from a segment](https://knowledge.hubspot.com/lists/create-a-sample-from-a-list)

Without this feature, the best way to create random lists is to export your contacts, open Excel and add a new column with a random number for each contact (e.g. between 1 and 100), then re-import the contacts with the number and create a list A where the random number is 1-50 and another where it’s 51-100, for example.

These lists you could use to test whatever you’d like that’s not listed below. Regarding your question of how big each list should be: it should be big enough for your results to be likely statistically significant. [Statistical Significance Calculator for A/B Testing](https://www.surveymonkey.com/mp/ab-testing-significance-calculator/)

For example, with two lists of 100 contacts and a small number of conversions, you’re not going to get a statistically significant result:

 ![karstenkoehler_0-1696307530084.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/b/7ba1690f06e27de716df7cd7259a87e80cd03b96.png)

You can use the calculator linked above to play around and test beforehand whether you’re numbers are even in the range of getting statistically significant results.

Some HubSpot tools have A/B testing built in. You can find them here:

- Pages: [Run an A/B test on a page](https://knowledge.hubspot.com/website-pages/run-an-a-b-test-on-your-page)
- Marketing emails: [Run A/B tests for marketing emails](https://knowledge.hubspot.com/email/run-an-a/b-test-on-your-marketing-email)
- Sequences: [A/B test your sequence emails](https://knowledge.hubspot.com/sequences/automate-a-b-testing-emails-with-sequences)

Hope this helps! If you have more context to share, I’m happy to elaborate.
