Calculator overview
Inputs and outputs
This summary comes from the calculator's published input and output contract.
Inputs
- Organic
-
When omitted Blank
Default 0 rows
About this input
Optional: the liquid limit after oven drying, in percent (a soil whose oven-dried liquid limit is under 0.75 of its natural liquid limit is organic), and the highly organic choice for peat identified by eye, which classifies the sample as Pt.
Column Range or allowed values Sample ID Not declared Oven-dried LL (%) 0 to 500 Highly organic (peat) No, Yes - Plasticity (required)
-
Default 24 rows
About this input
One row per sample that needs it (5 percent fines or more): Measured with the liquid limit and plastic limit in percent, or Non-plastic. The plasticity index is the liquid limit minus the plastic limit.
Column Range or allowed values Sample ID Not declared Plasticity Measured, Non-plastic Liquid limit LL (%) 0 to 500 Plastic limit PL (%) 0 to 500 - Samples (required)
-
Default 24 rows
About this input
One row per sample, up to 40: a sample id (1 to 32 characters, used to join every other table), the borehole it came from, and its top and bottom depth in metres. An unused row is blank, or has the id "-".
Column Range or allowed values Sample ID Not declared Borehole Not declared Top depth (m) 0 to 500 Bottom depth (m) 0 to 500 - Near-boundary band (required)
-
Unit PI points Default 1 Range 0 to 5
About this input
How close to a chart boundary a sample may plot before it is marked near a boundary: within this many PI points of the A-line, or this many liquid-limit points of LL 50. It only adds a note; it never changes a group symbol. From 0 to 5; 1 by default.
- Classification standard (required)
-
Default ASTM D2487-17 (2025) Allowed ASTM D2487-17 (2025)
About this input
The edition of the classification practice the samples are classified by. The only entry is ASTM D2487-17 (reapproved 2025); it is kept as a choice so that a later edition is chosen on purpose.
- Gradation (required)
-
Default 24 rows
About this input
One row per sample: the percent passing the 4.75 mm sieve and the 0.075 mm sieve (by mass of the part finer than 75 mm), and optionally the percent of cobbles retained on 75 mm. Fines are the percent passing 0.075 mm, gravel is 100 minus the percent passing 4.75 mm, and sand is the rest.
Column Range or allowed values Sample ID Not declared Passing 4.75 mm (%) 0 to 100 Passing 0.075 mm (%) 0 to 100 Cobbles over 75 mm (%) 0 to 100 - Grain Sizes
-
When omitted Blank
Default 8 rows
About this input
D10, D30 and D60 in millimetres, from the gradation curve: the sizes that 10, 30 and 60 percent of the sample is finer than. Needed only for coarse samples with 12 percent fines or less, to decide well or poorly graded.
Column Range or allowed values Sample ID Not declared D10 (mm) 0.0001 to 300 D30 (mm) 0.0001 to 300 D60 (mm) 0.0001 to 300
Outputs
- Samples not classified
-
No unit declared
About this output
The number of samples refused for a missing value; each such row says which value it needs.
- Samples near a chart boundary
-
No unit declared
About this output
The number of classified samples that plot within the near-boundary band of the A-line or of LL 50. Their symbol is unchanged; the note says to read them with care.
- Model status
-
No unit declared
About this output
OK when every sample is classified; CHECK when some samples could not be classified for a missing value or plot above the U-line, with the reason; NOT VALID with the first problem in the tables, when nothing is classified.
- Summary
-
No unit declared
About this output
One line for the set: the number of samples, how many were classified and how many need values, and the most common group symbol with its count.
- Status code
-
No unit declared
About this output
The typed state behind the status: OK, CHECK, INPUT_INVALID or UNSUPPORTED. For the page and the API; not shown to the reader.
- Samples entered
-
No unit declared
About this output
The number of samples entered in the samples table.
- Samples classified
-
No unit declared
About this output
The number of samples that have every value their path needs and were given a group symbol.
- Class Fractions
-
No unit declared
About this output
For each sample: the gravel, sand and fines percentages of the part finer than 75 mm, from the two percent-passing values.
- Class Counts
-
No unit declared
About this output
One row per group symbol found, in order of first appearance: the number of samples, their share of the classified samples, and their sample ids.
- Chart Points
-
No unit declared
About this output
For each sample with a measured liquid and plastic limit: its liquid limit and plasticity index, the point it plots at on the plasticity chart, and its group symbol.
- Class Trace
-
No unit declared
About this output
For each sample, the three steps of the decision in plain words: coarse or fine, then the gradation or the position on the plasticity chart, then the dual-symbol, organic and near-boundary notes.
- Class Result
-
No unit declared
About this output
For each sample, in input order: its group symbol, a group name in plain words, and whether it was classified or which value it needs.
- Class Indices
-
No unit declared
About this output
For each sample: the plasticity index (liquid limit minus plastic limit) and the gradation coefficients Cu = D60/D10 and Cc = D30 squared / (D10 x D60), blank where a value was not given.
LogicCommons is in beta. If a result, label, or reference looks wrong, tell us here; we read every message.
Methodology
Purpose and model boundary
This calculator classifies a whole set of laboratory samples, up to 40 from named borings and depths, to Unified Soil Classification System group symbols in one run. For each sample it reports the symbol, a group name in plain words, the fractions, the plasticity index and grading coefficients it used, and the steps of the decision. It then counts the samples by group and plots them on the plasticity chart.
It is a classification aid for education and preliminary work. A sample that lacks a value its branch needs, or has a value out of range, is reported as not classified with the reason; no symbol is guessed and the other samples are still classified. A group symbol does not give a soil's strength, compressibility or permeability, and a borehole's samples sharing a symbol does not make them one geological layer.
Inputs and units
- Samples: a sample name (1 to 32 characters), the boring it came from and its top and bottom depth in metres. One row per sample; the other tables refer to it by the sample name. A row with no sample name is unused.
- Gradation: percent passing the 4.75 mm sieve and the 0.075 mm sieve, by mass of the material finer than 75 mm, and optionally the percent of cobbles over 75 mm in the whole sample.
- Grain sizes (optional table; needed for coarse samples with 12 percent fines or less): D10, D30 and D60 in millimetres, the sizes at which 10, 30 and 60 percent of the sample is finer.
- Plasticity: measured, with the liquid limit and plastic limit in percent, or non-plastic. The table needs at least one row, so a set of clean coarse samples carries one non-plastic row.
- Organic soils (optional table): the liquid limit after oven drying, and whether the sample is highly organic (peat), identified visually.
- Settings: the classification standard and the plasticity-index band either side of the chart boundaries within which a sample is noted as near a boundary.
Governing relationships
Fractions of the material finer than 75 mm, from the sieve results:
F = P0.075, G = 100 − P4.75, S = P4.75 − P0.075
Plasticity index and the two plasticity-chart lines, at the sample's liquid limit:
PI = LL − PL
PIA = 0.73 (LL − 20) (A-line) and PIU = 0.9 (LL − 8) (U-line)
Grading coefficients of a coarse sample:
Cu = D60 / D10 and Cc = D30² / (D10 × D60)
A fine-grained sample is organic when the ratio of its oven-dried liquid limit to its natural liquid limit is below 0.75.
Calculation sequence
- Check the structure: a standard from the list, a near-boundary band from 0 to 5, at least one sample, no row with values but no usable sample name, no sample name twice in one table, and no sample in another table that is missing from Samples.
- For each sample, check its own rows; a value out of range refuses only that sample, and its row says which table, row and value.
- A highly organic sample is peat (Pt).
- A sample with 50 percent fines or more is fine-grained: the liquid limit against 50 and the plasticity index against the A-line and the low-plasticity zone give the symbol, and the oven-dried ratio marks it organic. Non-plastic fines are treated as silty.
- Otherwise it is coarse-grained: gravel only when the gravel fraction exceeds the sand fraction, sand otherwise.
With under 5 percent fines,
CuandCcdecide well or poorly graded (gravelCu ≥ 4, sandCu ≥ 6, both1 ≤ Cc ≤ 3); with over 12 percent fines, the plasticity of the fines decides silty, clayey or both; from 5 to 12 percent, both parts make a dual symbol, and fines in the silty-clay zone take the clay second symbol. - A sample missing a value its branch needs is not classified, and its row names the value.
- A classified sample within the near-boundary band of the A-line (with a plasticity index of 4 or more), or a fine-grained sample within the band of a liquid limit of 50, is noted; the note never changes its symbol.
- Count the classified samples by group and plot the samples with measured limits on the plasticity chart.
Outputs and interpretation
The summary gives the number of samples, how many were classified and the most common group. Each sample's row gives its group symbol, a group name in our own words, and its status. The name adds "with sand" or "with gravel" when that fraction is 15 percent or more, "sandy" or "gravelly" on a fine-grained soil from 30 percent coarser material, "with organic fines" on a coarse soil, and "with cobbles" when cobbles are entered. Further tables give the gravel, sand and fines percentages, the plasticity index and grading coefficients where they apply, and the decision steps in plain words. The group count lists each symbol with its count, its share and the samples in it. The plasticity chart shows each sample with plasticity values against the A-line and U-line.
Worked examples
The lab values in the examples are illustrative data for the shared synthetic sample sites; they are not from a real property.
- Business-park investigation. 24 samples from eight borings through silty sand, clay and dense sand and gravel.
- Highway cut corridor. 18 clay-stratum samples from six borings about 120 m apart, lean to fat clay.
- Soft-clay pocket. 17 samples, with oven-dried liquid limits and peat.
- Embankment borrow source. 12 bulk samples with full grain sizes and dual symbols.
- Basement lab sheet with incomplete tests. 14 samples, three of them missing a value.
Validation and status logic
The status reads OK, CHECK: (results with a caution) or NOT VALID: (no results). The first rule that applies wins:
| Condition | Returned status |
|---|---|
| The classification standard is not the listed one, or the near-boundary band is outside its range | NOT VALID: naming the setting |
| No sample is entered | NOT VALID: enter at least one sample |
| A row has values but no usable sample name, a sample name appears twice in one table, or a table names a sample that is not in Samples | NOT VALID: naming the table, the row or the sample |
| One or more samples cannot be classified | CHECK: N of M samples could not be classified; see the reason in each row |
| A sample plots above the U-line | CHECK: asking for the plasticity values to be rechecked |
| None of the above | OK |
A sample that cannot be classified shows the reason in its row, for example Not classified: needs D10, D30 and D60 to decide well or poorly graded, or the table, row and allowed range of a value out of range.
Assumptions and limitations
- The percentages and grain sizes come from representative laboratory tests on each sample.
- The group names are worded independently; the decision rules are the published USCS relationships above, and no table of the standard is reproduced.
- Cobbles and boulders are reported, not classified.
- Organic soils other than peat are identified only from the oven-dried liquid limit; peat only from the highly organic choice.
- A near-boundary note is a reading aid, not a borderline symbol.
Restrictions and non-computing states
This calculator refuses the whole set only for a structural problem: no sample, a row that belongs to no sample, a repeated sample name in one table, a sample missing from the Samples table, or a setting outside its list or range. A value out of its range, percent passing 0.075 mm above percent passing 4.75 mm, grain sizes that decrease from D10 to D60, a plastic limit above the liquid limit, a bottom depth above the top depth, or a missing value the branch needs leaves only that sample unclassified.
Errors and warnings
A rejected entry means the request did not satisfy the published input rules. NOT VALID means the whole set cannot be classified as entered, and names the first problem. CHECK means the classified samples are reported but some rows need attention: read each row's status. A calculation-service failure is an availability error, not a classification.
References
Sources and further reading
- ASTM International, Standard Practice for Classification of Soils for Engineering Purposes (Unified Soil Classification System), ASTM D2487-17 (reapproved 2025). store.astm.org. The practice that defines the Unified Soil Classification System from particle-size characteristics, liquid limit and plasticity index. The standard is sold by ASTM; this page reproduces none of its tables or wording.
- ASTM International, Standard Test Methods for Particle-Size Distribution (Gradation) of Soils Using Sieve Analysis, ASTM D6913/D6913M-17 (reapproved 2025). store.astm.org. The sieve tests that give the percent passing 4.75 mm and 0.075 mm and the D10, D30 and D60 sizes entered here.
- ASTM International, Standard Test Method for Particle-Size Distribution (Gradation) of Fine-Grained Soils Using the Sedimentation (Hydrometer) Analysis, ASTM D7928-21e1. store.astm.org. The hydrometer test that extends a grading curve below the 0.075 mm sieve.
- ASTM International, Standard Test Methods for Liquid Limit, Plastic Limit, and Plasticity Index of Soils, ASTM D4318-26. store.astm.org. The tests that give the liquid and plastic limits.
- Federal Highway Administration, Soils and Foundations Reference Manual, Volume I, FHWA NHI-06-088 (December
2006), section 4.2.1. fhwa.dot.gov. A public
description of the Unified Soil Classification System: the 50 percent fines divide between coarse- and
fine-grained soil, the coefficients
CuandCc, and the plasticity chart's A-line and U-line.
The calculator implements the publicly documented USCS decision relationships. The applicable laboratory standards, project specifications and review by a qualified geotechnical professional govern formal soil classification.
Found a problem, or have an idea?
Tell us if a result looks wrong, a label is unclear, or something is missing. We read every message.