A key tool in classical analysis is "scaling." For instance, one often exploits the fact that certain operators (e.g., the Laplacian) are homogeneous. In this talk we introduce a quantitative version of the classical Frobenius theorem from differential geometry (concerning foliations of manifolds). This quantitative Frobenius theorem gives rise to a generalized notion of scaling, which can be used to study questions in harmonic analysis.