The rule of thumb for calculating maximum safe crosswind is to take the clean stall speed of the airplane and multiply it by 0.2.

Ex: 50KT stall speed would mean the airplane should be safe in 10KTs of direct x-wind.

Check your POH for max demonstrated crosswinds in your plane.