Random Number Guides
Plain-English explanations of how random numbers are produced, how to make them in Excel and Python, and what “random” does and does not mean.
How Random Number Generators Work
A plain-English explanation of pseudorandom and true random number generators, seeds, and how a generator turns raw bits into a number in your range.
Read guideHow to Generate Random Numbers in Excel
Use RANDBETWEEN, RAND and RANDARRAY to create random whole numbers, decimals and unique lists in Excel and Google Sheets, and how to stop them recalculating.
Read guideHow to Generate Random Numbers in Python
Examples of random.randint, random.uniform, random.sample and the secrets module for random numbers in Python, and when to use each.
Read guideWhat Is a Random Number Seed?
A seed is the starting value of a pseudorandom generator. Learn why the same seed gives the same numbers, when that helps, and when it is a risk.
Read guideHardware Random Number Generators Explained
How hardware and quantum random number generators work, what entropy is, and how they relate to the generator inside your browser.
Read guideUnderstanding Pseudorandom and Cryptographically Secure Randomness
What separates an ordinary pseudorandom generator from a cryptographically secure one, why Math.random is not for passwords, and what to use instead.
Read guideHow Barcodes Work: Code 128, EAN-13, UPC-A and Check Digits
A plain explanation of how a barcode stores text or numbers, what a check digit does, how EAN-13, UPC-A, Code 128 and Code 39 differ, and why printed barcodes fail to scan.
Read guideQR Codes Explained: How They Work and How to Make One That Scans
How QR codes store links and text, what error correction levels L, M, Q and H mean, how big a QR code should be, and the usual reasons a QR code does not scan.
Read guideHow to Calculate Attendance Percentage (and the 75% Rule)
The attendance percentage formula, how many classes you can miss and how many you must attend to reach 75% or any target, with worked examples and an Excel formula.
Read guideHow the Pregnancy Due Date Is Calculated (LMP, Naegele’s Rule and EDD)
How a due date (EDD) is estimated from the last menstrual period with Naegele’s rule, how weeks pregnant and trimesters are counted, and why ultrasound dating can change the date.
Read guideHow to Calculate Age and the Difference Between Two Dates
How to work out exact age in years, months and days, count the days between two dates, handle leap-year birthdays and use Excel DATEDIF.
Read guideTrain Ticket Booking Dates Explained: When Does Booking Open?
What the advance reservation period is, how to work out the day booking opens for your journey date, the furthest date you can book today, and why you should confirm the rule on the official site.
Read guideLo Shu Grid, Life-Path Numbers and the Pythagorean Square Explained
How a life-path number is calculated from a date of birth, how the Lo Shu grid and the Pythagorean square are filled in, and what the Chinese zodiac adds. Numerology for fun.
Read guide