Histogram Maker
Paste your numbers and instantly build a frequency distribution and histogram. Choose the bin count and review the mean, standard deviation, and a full frequency table.
Input
Numeric data (separate with line breaks, commas, or spaces)
Values detected: 20
Number of bins (classes)
Leave blank to set the bin count automatically with Sturges' formula (5 bins). You can also enter any value from 1 to 50.
Result
Data points
20
Bins
5 bins
Bin width
5
Mean
61.1
Median
61.5
Std. dev. (population)
6.978
Std. dev. (sample)
7.159
Frequency distribution table
| Class | Midpoint | Frequency | Relative freq. | Cumulative rel. freq. |
|---|---|---|---|---|
| 48 to under 53 | 50.5 | 3 | 15% | 15% |
| 53 to under 58 | 55.5 | 3 | 15% | 30% |
| 58 to under 63 | 60.5 | 5 | 25% | 55% |
| 63 to under 68 | 65.5 | 5 | 25% | 80% |
| 68 to 73 | 70.5 | 4 | 20% | 100% |
| Total | 20 | 100% |
How it works
- Numeric data can be separated by line breaks, commas, or spaces. You can also copy a single column straight from a spreadsheet and paste it in.
- Leave the bin count empty to set a recommended value automatically with Sturges' formula (1 + log2 n) based on how many data points you entered. You can also choose any value from 1 to 50 manually.
- Each class runs from its lower bound (inclusive) up to its upper bound (exclusive); only the final class containing the maximum value is treated as inclusive, so the maximum is always counted somewhere.
- The frequency distribution table shows frequency, relative frequency, and cumulative relative frequency, along with the overall mean, median, and standard deviation (population and sample).
- The orange dashed line on the chart marks the mean, so you can see at a glance whether the distribution leans left or right and what shape it takes.
- All numbers you enter are calculated entirely in your browser and never sent to a server, so you can use the tool with confidence.
Related calculators
Flash Shooting Distance
HobbyCalculate the ideal shooting distance to your subject from a flash unit's guide number, aperture and ISO.
Open calculator →Flash Aperture Calculator
HobbyCalculate the correct f-stop for flash photography from guide number, distance, and ISO. Instantly see the nearest standard f-stop and the correct distance for each aperture.
Open calculator →Lens Focal Length Calculator
HobbyEstimate the lens focal length (mm) and 35mm equivalent you need from your subject distance, real size, and sensor width.
Open calculator →Camera Angle of View Calculator
HobbyEnter a lens focal length and image sensor size to instantly calculate how wide a scene the camera captures: the horizontal, vertical, and diagonal angle of view. Includes presets for full frame, APS-C, Micro Four Thirds and more (plus custom sensor sizes) and shows the 35mm equivalent focal length too.
Open calculator →