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, and the moisture content. You can refer to Das or any other reference soil books for more on this topic.