A small boat sailing to windward will naturally slide sideways, particularly in waves. Estimate leeway by comparing your wake with the course steered. When planning, allow for leeway. This is boat-specific and you may need to allow a considerable amount in certain conditions, like wind over tide when there are large waves, or in a small dinghy with a small centreboard.