Yes and no would both be an accurate answer to this question. IF you are using a 40w speaker in a small and enclosed space for a limited number of people, then yes. 50W is loud enough.  Outdoor events generally require a speaker with over 40w unless it is a very small gathering. If you have quite a number of guests, and you want your sound to reach everyone, then consider getting a speaker with over 40w.