The weaker the subgrade, or the heavier the loads, then, the thicker the slab needs to be. The most commonly used value is the modulus of subgrade reaction, k in design of slabs on grade.
Modulus of soil reaction, is a spring constant that depends on the kind of soil, the degree of compaction...