How the texture triangle classifies soil
Soil texture describes the mineral particles smaller than 2 mm, split into three size classes: sand (0.05 to 2 mm), silt (0.002 to 0.05 mm) and clay (smaller than 0.002 mm). Because the three always add up to 100%, any soil is a single point on a triangle, and USDA divides that triangle into 12 texture classes.
This calculator applies the USDA boundary rules directly. For example, soil is sand when silt + 1.5 x clay is under 15, loam when clay is 7 to 27%, silt is 28 to 50% and sand is 52% or less, and clay when clay is at least 40% with no more than 45% sand and under 40% silt. A 40% sand, 40% silt, 20% clay sample is loam; raise clay to 40% and cut sand to 20% and it becomes silty clay.