We prove the following result on the distribution of Dedekind sums: lim M→∞ logM M ∑ c=1 M 1 c ∑ D modc ∗ g S(d,c), d c = 12 π 2 ∫ −∞ ∞ ∫ R Z g(x,y) dy dx, for each compactly supported continuous function g on R × (R/Z). The proof uses Kuznetsov's sum formula in the modular case for varying real weight.