ATC has a requirement to advise crosswind to aircraft when it reaches certain limits depending on aircraft type.
On final at uncontrolled airports, no formula will help when all you have is a windsock which is horizontal at anything above 15 knots. Best to learn what can and can't be done from the available cues, crab angle, control input and GPS ground speed and don't be too proud to go around.