All AI Data API - Sample size and margin of error for surveys and A/B-style comparisons
https://allai-api.allaihq.workers.dev/v1/tools/survey_sample_sizeOverview
Calculates the sample size for estimating a proportion or a mean to a margin of error at your confidence level (with finite population correction), the margin of error you get for a given sample size, and the sample size per group to detect a difference between two proportions or two means at a power you choose (two-sided). Uses exact normal quantiles. Complements significance $0.004 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.