A norm for modules and algebras