Login Register

Access the GIFSQ Portal

Select your user type to log in or register a new account.

Student Portal

Access your food safety courses and exams.

Instructor Portal

Manage courses, view student submissions, and grade quizzes.

Company Portal

Manage corporate setup, view employee logs, and access QA services.

Home / Resources / Tools Hub / Three-Digit Sample Code Generator

Three-Digit Sample Code Generator

Interactive Tool Free Resource

GIFSQ Tools · Module 12 — Sensory · Tool 233 of 500

Generate distinct three-digit sample codes from a seed: deterministic, reproducible, and free of repeats for up to 900 samples.

Try sample values — fills the form with the worked example below.

–
First code
–
Last code
–
Codes generated
Equation: Code i = 100 + ((seed + i × 137) mod 900), for i = 0 … n − 1; 137 shares no factor with 900, so all codes are distinct.
Method: ISO 6658:2017 sensory methodology — three-digit random codes to blind samples; codes 100–999.
Assumptions: Seed is a whole number of zero or more; at most 900 distinct three-digit codes exist.
Limitations: Codes are deterministic from the seed — change the seed for a new study so codes do not repeat across studies.
Rounding: Codes are whole numbers from 100 to 999.
This is a calculation aid, not a laboratory report — confirm against your accredited method before citing a value.
Worked example: Seed 42, 3 codes: 142, 279, 416.

Enter values above to see results.

Tool 233 of 500 — GIFSQ