Recent estimates of the properties of the Crab nebula are used to derive constraints on the moment of inertia, mass and radius of the pulsar. To this purpose, we employ an approximate formula combining these three parameters. Our "empirical formula" I similar or equal to a(x)MR2, where x = (M/M-.)(km/R), is based on numerical results obtained for thirty theoretical equations of state of dense matter. The functions a(x) for neutron stars and strange stars are qualitatively different. For neutron stars a(NS)(x) = x/(0.1 +2x) for x less than or equal to 0.1 (valid for M > 0.2 M-.) and a(NS)(x) = (2)(9) (1 +5x) for x > 0.1. For strange stars a(SS)(x) = (2)(5) (1 + x) (not valid for strange stars with crust and M < 0.1 M-.). We obtain also an approximate expression for the maximum moment of inertia I-max,I-45 similar or equal to (-0.37 + 7.12 . x(max))(M-max/M-.)(R-Mmax/10 km)(2), where I-45 = I/10(45) g . cm(2), valid for both neutron stars and strange stars. Applying our formulae to the evaluated values of I-Crab, we derive constraints on the mass and radius of the pulsar. A very conservative evaluation of the expanding nebula mass, M-neb = 2 M-., yields M-Crab > 1.2 M-. and R-Crab = 10-14 km. Setting the most recent evaluation ("central value") M-neb = 4.6 M-. rules out most of the existing equations of state, leaving only the stiffest ones: M-Crab > 1.9 M-., R-Crab = 14-15 km.