Counting 40 days backward from Easter Sunday (not including any other Sundays) will give you the date for Ash Wednesday.