Mykdar
Haçyň bir maksatly gaýşy üçin barlag nusga ululygyny tap.
Netijeler ýazýan wagtyň täzelener.
Bu hasapçy hakda
This sample size calculator finds how many people you need to survey for a chosen margin of error and confidence level — the planning step before you run a poll or study. It uses the standard formula n = z²·p(1 − p) / e², where z is the critical value for the confidence level, p the expected proportion and e the target margin of error as a decimal.
When you supply a total population size it also applies a finite-population correction, n = n₀ / (1 + (n₀ − 1)/N), which lowers the required sample when you are surveying a large fraction of a small group. A table shows the sample needed at several common margins of error, and the result is always rounded up because you cannot survey a fraction of a person.
Worked example: for a 5% margin at 95% confidence with an unknown proportion (p = 0.5), n = 1.96² × 0.5 × 0.5 ÷ 0.05² = 3.8416 × 0.25 ÷ 0.0025 ≈ 384.16, so you need 385 respondents. Tightening the margin to 3% pushes that to about 1,068. The default 50% proportion gives the largest, safest sample; entering a better estimate of the true proportion reduces it.
Köp soralýan soraglar
Mykdar nädip hasaplanýar?
The base formula is n = z²·p(1 − p) / e², where z is the confidence critical value, p the expected proportion and e the margin of error as a decimal. The result is rounded up because you cannot survey a fraction of a person.
Sonky ilat düzedişi näme?
Eğer nüfusunuz küçükse, temel formülün öne sürdüğünden az cevap gerek. Düzeltme n = n₀ / (1 + (n₀ − 1)/N) örnekleri nüfus büyüklüğüne N göre küçürir. Bu örnekler bütünden büyük bir parça olduğunda en çok öneme sahiptir.
How many people do I need for a 95% confidence level?
Bu kabul edip biljek hatalar aralygyna bagly. 95% ynam bilen 5% aralyk bilen we hiç bir öňki hasaplama bilen size 385 jogapçiniň gerek; 3% aralyk 1,068 we 1% aralyk 9,604 gerek.
Näme üçin nusga ululygy töwerekleşipdir?
Sen bir adamy sorap bilmeýäň, şonuň üçin her bir kesiljek netije bir aşakda bir doly san töwerekleşip gidýär. Töwerekleşip gitmegiň ýerine, aşakda töwerekleşip gitmegiň hatanyň hakykatdan has uly bolmajakdygyna kepil geçýär.
Men bu ululyky boş goýmalymy?
Eger populýasiýa gaty uly ýa-da belli bolmadyk bolsa, ony süňňürde (ýa-da boş) goý, bu standart "sonsuz populýasiýa" mysal ululygyny berer. Diňe eger ol ýeterlik kiçi bolsa we düzediş mysalyň ähmiýetini azaltsa, akylly bir populýasiýa giriz.
Men nädip islendik nusga ululygyny azaltyp bilerin?
Biziň öñki öwrümlerimize gabat gelmeýän hatalar üçin, bu formulany ulanyp, has uly hata marjyny kabul et, az bir ynam derejesini ullan, ýa-da 50%'den has uly bir paýy ber, eger siz ygtybarly bir hasaplamaňyz bolsa. Bulardan her biri formulanyň soraýan jogaplarynyň sanyny azaltýar.
API — bu hasapçyny koddan ullan
Bu hasapçyny boş JSON ahtar noktasy hökmünde çagyr - açar gerek däl. Aşakdaky meýdança mykdarlaryny soragyň parametrleri ýa-da JSON hökmünde iber. Siziň goýmaýan hernäňiz şu sahypanyň öň bellenen öň bellenenini ulanýar; namydar parametr 400, hiç wagt sessiz sıfır däl. Eňlisçe senedleri oka →
Endpoint
GET https://calculator.free/api/v1/sample-size/
curl
curl "https://calculator.free/api/v1/sample-size/?conf=1.96&e=5"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/sample-size/?" + new URLSearchParams({
"conf": "1.96",
"e": "5"
}));
const data = await r.json();
console.log(data.results);
Netijeler diňe umumy ýardam üçin hasaplanypdyr, maliýe, saglyk ýa-da salgyt maslahaty üçin däl.