If you are talking equity options, it is usually based on the last trade. Keep in mind that the option technically expires on Saturday, and that any news out Friday after the bell that could move the stock (in after hours Friday or on Monday open) could affect whether you get exercised or not.