Sample Size Calculator: overview
How many people do you need to survey for reliable results? Too few and your margin of error is huge; too many wastes time and money.
Choose a confidence level and margin of error, optionally enter your population size, and get the required sample.
How to use Sample Size Calculator
- Enter confidence level, margin of error, expected proportion and population.
- Results update instantly as you type.
- Click any result row to copy it.
How sample size is calculated
n = z² × p(1 − p) ÷ e². With 95% confidence (z = 1.96), ±5% margin and p = 50%, you need 385 responses.
For small populations, the finite population correction reduces the number: a 1,000-person company needs about 278.
Use 50% when you don't know the expected answer — it gives the largest, safest sample size.
Frequently asked questions
Why does sample size barely grow for huge populations?
Beyond about 100,000 people, population size hardly affects precision.
Does this fix biased samples?
No. A random, representative sample matters more than size.
How many should I invite?
Divide by your expected response rate.
What is the Sample Size Calculator?
The Sample Size Calculator is a free online tool on trysandbox.io. In short: Survey sample size by confidence and margin. It is part of our generators collection and works directly in your web browser on desktop, tablet and phone, with no sign-up, no download and no usage limits.
People usually find this page when searching for terms like sample, size, calculator, survey, confidence, margin. Whatever brought you here, the goal is the same: get a correct result quickly, understand what the tool is doing, and know how to use the output with confidence. This guide explains exactly that.
Why use an online Sample Size Calculator?
Generators save time by turning a few settings into finished output you can copy, download or print. Instead of starting from a blank page, you begin with a working result and adjust it until it fits your project.
Because the output is produced instantly, you can try many variations in seconds. That makes it easy to compare options side by side, pick the strongest one, and move on with your work without waiting for a designer, a developer or a paid service.
The Sample Size Calculator is designed for marketers, small business owners, teachers, developers, designers and anyone who needs fresh output quickly. You do not need technical knowledge to get started, but advanced users will find the options they need to fine-tune the result.
Common uses for the Sample Size Calculator
Here are some of the most common situations where the Sample Size Calculator is useful:
- Producing printable material for classrooms, events, shops and offices
- Brainstorming names, ideas and variations when you are stuck
- Building test data for software without exposing real customer information
- Making shareable items such as codes, links and cards for social media or print
- Creating placeholder or sample content for mockups, prototypes and presentations
Step-by-step: getting the best result
A good workflow is simple: decide what the output is for, set the options that matter most, generate a few versions, test the strongest one in its real setting, and then save or download it. If you need the same kind of output again, bookmark this page — the URL opens this tool directly.
If the result is not what you expected, change one option at a time and compare. Small adjustments are easier to understand than changing everything at once, and you will quickly learn which settings matter most for sample size calculator tasks.
Tips and best practices
Follow these recommendations to get reliable, professional results from the Sample Size Calculator:
- Treat random or template-based output as a starting point and add your own judgement before publishing it.
- Generate several versions and compare them before choosing one. The first result is rarely the best fit.
- Check the final output in the place it will be used — print a test page, scan a code with two different phones, or paste text into the real document.
- Keep a copy of the exact settings you used so you can recreate or update the result later.
Mistakes to avoid
Even experienced users run into these problems. Keep them in mind when working with the Sample Size Calculator:
- Publishing generated names or slogans without checking trademarks and domain availability.
- Using sample or fake data in real transactions — test data is only for testing.
- Printing at a very small size, which makes codes and fine detail hard to read.
Privacy and security
Generation happens directly in your browser. The values you type are not sent to a server to create the result, which means you can safely produce output for internal or confidential projects.
We built trysandbox.io around this principle because utility tools often handle personal or business information. Running the Sample Size Calculator locally means faster results, no waiting for uploads and no risk of your input being stored on someone else's server.
Sample Size Calculator: frequently asked questions
Do I need to install anything to use the Sample Size Calculator? No. It runs in any modern browser, including Chrome, Edge, Firefox and Safari, on Windows, macOS, Linux, Android and iOS. Just open the page and start working.
Does the Sample Size Calculator work on mobile? Yes. The layout adapts to small screens, and every control can be used with touch. For long inputs or large files, a laptop or desktop is more comfortable, but the result is the same.
Is my data saved? No. Nothing you enter into the Sample Size Calculator is stored on our servers. If you refresh or close the page, your input is cleared, so copy or download your result before leaving.
Can I use the result commercially? Yes. Output you create with the Sample Size Calculator is yours to use in personal, client and commercial work. You are responsible for checking that the final result is accurate and suitable for its purpose.
What should I do if something looks wrong? Double-check your input first, then try different options. If the problem continues, contact us through the Contact page with a short description and we will look into it.
Is the Sample Size Calculator free?
Yes. The Sample Size Calculator is completely free to use, as often as you like, for personal and commercial projects. There is no account, no watermark and no trial period. The site is supported by advertising, which keeps every tool available to everyone.
If you find the Sample Size Calculator useful, explore the related tools in the Generators category — many tasks combine two or three tools, and they all share the same simple, private, browser-based approach.