Hverdag · verktøy

Kalkulator for utvalgsstørrelse i spørreundersøkelser

Skriv inn konfidensnivå, feilmargin og forventet andel. Legg til populasjonsstørrelsen for å justere for en endelig populasjon.

Kjøres i nettleseren. Ingen opplasting.

Values are processed locally in this browser.

Result

—

Om verktøyet

Kalkulator for utvalgsstørrelse i spørreundersøkelser sem complicação.

Anslaget forutsetter tilfeldig utvalg og et resultat basert på andel. Manglende svar, gruppering og skjevheter i utvalget er ikke inkludert.

Veiledning

Slik bruker du Kalkulator for utvalgsstørrelse i spørreundersøkelser

The Survey Sample Size Calculator tells you roughly how many people to ask when you want to estimate a share, such as the percent who say yes. You choose a confidence level (90, 95 or 99 percent), the margin of error you can accept and the share you expect. You may add the size of the whole group. It assumes a simple random sample. It cannot fix a biased sample or low response.

Slik gjør du

  1. Choose the confidence level: 90%, 95% or 99%. A higher level needs more people.
  2. Type the margin of error as a percent. A value of 5 means plus or minus 5 percentage points.
  3. Keep the expected proportion at 0.5 if you have no idea. Otherwise type a number between 0 and 1, such as 0.3 for about 30 percent.
  4. If your whole group is small and known, type its size in the population box. Press Calculate and read the sample size.

Eksempler

The common starting point

Du skriver inn
konfidens
95
feilmargin
5
andel
0.5
populasjon
Du får
nødvendig utvalgsstørrelse
385
anslag før avrunding
384.1459
korreksjon for endelig populasjon
not applied

The formula is z squared times p times (1 - p), divided by the margin squared. With z = 1.96, p = 0.5 and 0.05, that is about 384.15, and the tool rounds up to 385.

Kjørt med verktøyets egen kode.

The same survey in a group of 1,000

Du skriver inn
konfidens
95
feilmargin
5
andel
0.5
populasjon
1000
Du får
nødvendig utvalgsstørrelse
278
anslag før avrunding
277.7335
korreksjon for endelig populasjon
applied

When the whole group is small, fewer people are needed. The adjustment divides 384.15 by 1 + (384.15 - 1) / 1000, which gives about 277.73, rounded up to 278.

Kjørt med verktøyets egen kode.

Lower confidence, tighter margin, expected share 30%

Du skriver inn
konfidens
90
feilmargin
3
andel
0.3
populasjon
Du får
nødvendig utvalgsstørrelse
632
anslag før avrunding
631.2935
korreksjon for endelig populasjon
not applied

A 90 percent level uses z of about 1.645. A tighter 3 percent margin pushes the number up, while an expected share away from 50 percent pulls it down a bit.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Planning how many people to ask in a customer or student survey.
  • Checking whether a quoted sample is large enough for the margin of error being reported.
  • Seeing how much a smaller margin of error or a higher confidence level adds to the work.
  • Teaching how sample size, margin and confidence relate.

Begrensninger

  • Only 90%, 95% and 99% confidence are offered. Other levels show an error.
  • It assumes a simple random sample and a yes-or-no style outcome. Clusters, weighting and complex designs need other methods.
  • Nonresponse, bias in who you reach and badly worded questions are not included, so plan to ask more people than the number shown.
  • The expected proportion must be greater than 0 and less than 1, the margin must be under 100%, and a population must be blank or a whole number of at least 2.

Tips

  • If you do not know the share, leave the proportion at 0.5, because it gives the largest and safest number.
  • Use the population box only when your group is small enough that the sample is a big part of it.
  • Add extra invitations for people who will not answer, and track how many do, so the final sample still reaches your target.

Kilder

Vanlige spørsmål

Sobre Kalkulator for utvalgsstørrelse i spørreundersøkelser.

Why does everyone use 385 for a sample size?

It is the result for 95 percent confidence, a 5 percent margin and an unknown share of 0.5, with no limit on the population. It is a handy default, but your own margin, confidence and group size may need a different number.

Why does the tool round the number up?

A sample cannot have a fraction of a person, and rounding down would give a slightly wider margin than you asked for. The tool shows the unrounded value too, so you can see how close it was.

What proportion should I enter?

Enter your best guess for the share that will say yes. If you have no idea, use 0.5. Wikipedia notes the variance is largest at 0.5, so that value gives the biggest sample and is the cautious choice.

When does the population size matter?

It matters when the group is small. The adjustment lowers the sample size noticeably for a group of 1,000 but hardly changes it for hundreds of thousands. Leave the box blank if the group is very large or unknown.

Is the result the number of people who must answer?

Yes, it is the number of completed answers needed under the tool's assumptions. If only some of the people you invite reply, you must invite more to reach it.

Does a bigger sample fix a biased survey?

No. The formula assumes people are picked at random. If you only reach one kind of person, a large sample can still give a misleading answer. Sample size cannot repair who was asked or how the questions were worded.

Is my data uploaded?

No. The sum runs in your browser, and the values you type are not sent to a server. Copy result puts the text on your clipboard only if you press the button.

Hvordan bruker du Utvalgsstørrelseskalkulator?

Skriv inn konfidensnivå, feilmargin og forventet andel. Legg til populasjonsstørrelsen for å justere for en endelig populasjon.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.