blue-idea top banner

File & Sample Size Estimator

Real calculators for text file size and simple survey sample size – neon purple edition.

Text File Size Estimator

Estimate the approximate size of a plain text file either from the actual text or from a word count. Uses a realistic average of characters per word and bytes per character.

Result: No estimation yet.
Assumptions: average 5 characters per word, plus spaces and line breaks, encoded as UTF‑8 (1 byte per ASCII character). This gives a realistic approximation for plain text files.

Simple Sample Size Estimator

Calculate a basic sample size for a proportion‑based survey using standard statistics: confidence level, margin of error, and an estimated proportion. Includes optional finite population correction.

Result: No calculation yet.
Formula (infinite population):
n₀ = (Z² · p · (1 − p)) / e², where Z is the z‑score for the chosen confidence level, p is the estimated proportion, and e is the margin of error (in decimal form).
Finite population correction (if N is given): n = n₀ / (1 + (n₀ − 1) / N).