We develop new methods for computing the precise Dehn functions of coabelian subgroups of direct products of groups, that is, subgroups which arise as kernels of homomorphisms from the direct product onto a free abelian group. These improve and generalise previous results by Carter and Forester on Dehn functions of level sets in products of simply connected cube complexes, by Bridson on Dehn functions of cocyclic groups and by Dison on Dehn functions of coabelian groups. We then provide several applications of our methods to subgroups of direct products of free groups, to groups with interesting geometric finiteness properties and to subgroups of direct products of right-angled Artin groups.