Investors & landlords

"To be clear,  I rented a room (10% of sq ft) in my house for 95 days in 2019. "

Question, so if any expense (x) put is for the entire year (say property tax), the correct portion to be put to schedule E should be x * 10% * (95/365) ?