Toolyard

Standard Deviation vs Standard Error

They answer different questions

Standard deviation describes the data: how spread out the individual values are. Standard error of the mean describes the estimate: how much the mean itself would move if you repeated the experiment. One is a property of the thing you measured; the other is a property of how well you measured it.

The formulas

SD = √(Σ(x − mean)² ÷ (n − 1))

SEM = SD ÷ √n

Ten values with a mean of 20 and an SD of 4 give an SEM of 4 ÷ √10 = 1.26. With 100 values and the same SD of 4, the SEM falls to 0.4.

Why SEM always looks better

SD does not shrink as you collect more data; it settles on the real spread of the population. SEM shrinks with √n without limit, so plotting SEM makes error bars smaller purely by adding samples. That is a correct description of a more precise mean, and a misleading picture of the variability, which is why figures that do not say which one they used are unreadable.

Which to report

  • SD: when you are describing a sample. Patient ages, cell diameters, the range of values a reader should expect to see.
  • SEM or a confidence interval: when you are comparing means, because that is the uncertainty the comparison rests on.
  • 95% confidence interval: usually clearer than SEM, and roughly mean ± 1.96 × SEM for a large sample. It states a range rather than a quantity the reader has to convert.

Whatever you choose, say so in the caption, together with n. "Mean ± SD, n = 12" takes four words and removes all ambiguity.

Reading error bars

Overlapping SEM bars do not prove there is no difference, and non-overlapping ones do not prove there is. For two groups, bars that are more than about one SEM apart are often significant at the 5% level, but the only honest answer comes from the test and the P value, not from looking at the picture.

Sample or population

The n − 1 in the SD formula is Bessel's correction: dividing by n underestimates the spread when you only have a sample. Use the n version only when your numbers are every member of the group, which in practice almost never happens in a lab.

Tools

The Standard Deviation Calculator gives SD, SEM, variance and the quartiles from a pasted list, for a sample or a population. The t-Test Calculator compares two sets of numbers and gives the P value, and the Weighted Average Calculator handles means where the values do not count equally.

Tools in this guide

More guides

How to Open HEIC Files on WindowsHow to Reduce PDF File SizeHow to Remove Location Data from PhotosHow to Extract Audio from a VideoHow to Make a Wi-Fi QR CodeHow to Sign a PDFHow to Verify a File Checksum (SHA-256)PNG vs JPG vs WebP: Which Image Format to UseHow to Merge PDF FilesHow to Copy Text from an ImageHow to Convert JPG to PDFHow to Convert a PDF to JPGHow to Split a PDF or Extract PagesHow to Rotate a PDF PermanentlyHow to Add Page Numbers to a PDFHow to Watermark a PDFHow to Convert HEIC to JPG on a MacHow to Convert WebP to JPGHow to Reduce Image File SizeHow to Convert a Video to GIFHow to Convert WAV to MP3How to Create a Strong PasswordHow to Convert Celsius to FahrenheitGB vs GiB: Why Your Drive Shows Less SpaceHow to Calculate PercentagesHow to Calculate the Number of Days Between Two DatesWhat Is a Unix Timestamp?How to Compare Two Text FilesHow to Count Words in a DocumentHow to Scan a QR Code from a Screenshot or ImageWhat Is a Hash? MD5, SHA-1 and SHA-256 ExplainedHow to Compress a Photo to 20 KB (or Any Size)How to Remove the Background From a PhotoHow to Test Your MicrophoneHow to Check a Screen for Dead PixelsHow to Record Your ScreenHow to Make a Ringtone for iPhoneHow to Compress a Video to Send ItHow to Remove a Password From a PDFHow to Password Protect a PDFHow to Fill In a PDF FormHow to Convert a PDF to WordHow to Blur a Face in a PhotoHow to Calculate Your BMIHow to Calculate a Mortgage PaymentHow to Schedule a Meeting Across Time ZonesWhat Is a Cron Expression?How to Reverse Complement a DNA SequenceHow to Translate DNA to ProteinHow to Convert GenBank to FASTAHow to Find Restriction Sites in a DNA SequenceHow to Align Two DNA or Protein SequencesHow to Design and Check PCR PrimersHow to Calculate Molar MassHow to Balance a Chemical EquationHow to Make a Solution of a Given MolarityHow to Calculate a Dilution (C1V1 = C2V2)How to Calculate pHHow to Calculate DNA Concentration From A260How to Calculate Insert Amount for a LigationHow to Convert RPM to g (RCF)How to Count Cells With a HemocytometerHow to Use a Punnett SquareHow to Make a Budget With the 50/30/20 RuleDebt Snowball vs Debt AvalancheHow Much Do I Need to Retire?How to Convert Salary to Hourly PayProfit Margin vs MarkupHow to Calculate VAT and Sales TaxHow to Make an InvoiceHow Much House Can I Afford?How to Read Resistor Color CodesHow to Choose a Resistor for an LEDHow to Calculate Voltage Drop in a CableHow Much Concrete Do I Need?How Much Paint Do I Need?How to Calculate a SubnetSignificant Figures RulesHow Loan Amortization WorksROI vs CAGR: How to Measure an Investment's ReturnHow Inflation Shrinks Your SavingsHow to Calculate Your GPAHow to Calculate a TipMinesweeper Strategy: Patterns and TipsSudoku Strategies for BeginnersHow to Win at 2048Solitaire Strategy: How to Win More GamesHow to Type FasterRegex Basics: A Beginner's Guide With ExamplesHEX vs RGB vs HSL ColorsWhat Is Base64 (and URL Encoding)?How to Calculate Half-LifeThe Ideal Gas Law ExplainedHow a Voltage Divider Works555 Timer CalculationsHow to Calculate Roof PitchHow to Calculate Board FeetDNA and Protein Sequence Statistics ExplainedHow to Do a Serial DilutionHow to Calculate qPCR Fold Change With ΔΔCtHow to Calculate Primer Tm and Annealing TemperatureHow to Measure Protein Concentration at A280How to Resuspend Primers and OligosHow to Calculate MOI for Viral InfectionHow to Find the Limiting ReagentHow to Find an Empirical FormulaMolarity vs Molality vs NormalityHow to Count the Words in a PDFHow to Calculate Aspect RatioHow to Use Ohm's LawHow to Calculate TorqueAWG vs mm²: Wire Sizes ExplainedMetric vs Imperial Screw ThreadsShould I Rent or Buy a Home?How to Set a Freelance Hourly RateHow to Make a Standard CurveHow to Calculate an IC50How to Make a PCR Master MixHow to Make an Agarose GelHow to Make an SDS-PAGE GelHow to Make a Stock SolutionHow to Calculate Cable SizeHow to Calculate Cutting Speed and RPMHow to Calculate Roof AreaPPI vs DPIHow to Split Tips FairlyWAV vs MP3: Bitrate and File SizeHow to Compare Two PDFsHow to Convert kW to AmpsHow to Plan Stairs