We obtain sharp estimates for the localized distribution function of Mφ, when φ belongs to L p, ∞ where M is the dyadic maximal operator. We obtain these estimates given the L 1 and L q norm, q < p and certain weak-L p conditions.In this way we refine the known weak (1,1) type inequality for the dyadic maximal operator.As a consequence we prove that the inequalityis sharp allowing every possible value for the L 1 and the L q norm for a fixed q such that 1 < q < p, where || · ||p,∞ is the usual quasi norm on L p,∞ .