Skip to main content

Matematika

Kalkulačka histogramu

Histogram Calculator

Data (space/comma separated)
Number of Bins

✓Histogram (17 values, 5 bins)

[2.00, 5.80) — 4
[5.80, 9.60) — 4
[9.60, 13.40) — 3
[13.40, 17.20) — 3
[17.20, 21.00) — 3

What is Histogram Calculator?

▾

A histogram displays the frequency distribution of a dataset by dividing the range into equal-width bins and counting how many values fall in each bin. It reveals the shape, spread, and central tendency of data.

PrimeCalcPro provides professional-grade tools trusted by businesses and academics.

Vzorec

▾
f(x)Bins: define intervals. Frequency: count of values in each bin. Density = Frequency / (Bin Width × Total Count)

Variable Legend

▾
SymbolMenoJednotkaPopis
Bin widthsize of each interval——
Frequencycount of data points in bin——
Densitynormalized frequency (probability per unit width)——

How to Histogram Calculator

▾
  1. 1Choose number of bins (Sturges: 1+log₂n)
  2. 2Bin width = (max−min)/bins
  3. 3Count values in each bin
  4. 4Bar height = frequency (or relative frequency)

Worked Examples

▾
Example 1
Given:20 test scores, 5 bins
Výsledok:Each bin spans 10 points; reveals normal-like distribution

Real-World Applications

▾
🏗️

Data distribution visualization

🔬

Quality control and process monitoring

📊

Medical diagnosis (test result distributions)

🏥

Image processing and contrast adjustment

⚙️

Statistical analysis and reporting

Number of Bins Guidelines

▾
n (data points)Suggested binsMethod
5–103–5Square root
11–505–8Square root
51–2007–12Sturges
201–100010–17Sturges
1000+15–20+Rice rule

Frequently Asked Questions

▾
Q

How many bins should a histogram have?

A

Use Sturges' rule (k ≈ 1 + log₂(n)) or √n. Too few bins hide details; too many create noise.

Q

Is a histogram the same as a bar chart?

A

No. Histograms show continuous data with adjacent bins; bar charts show categorical data with gaps.

Q

What does the area of a histogram bar represent?

A

The area represents relative frequency (or probability if normalized).

Deep Dive

Read the full guide on how to use this calculator effectively

Čítať viac →
Mathematically verified
Reviewed October 2026
Our methodology

Získajte týždenné matematické tipy

Pridajte sa k 12 000+ odberateľom, ktorí každý týždeň dostávajú tipy na kalkulačku.

🔒
100% zadarmo
Nikdy bez registrácie
✓
Presné
Overené vzorce
⚡
Okamžité
Výsledky počas písania
📱
Vhodné pre mobily
Všetky zariadenia

Nastavenia