Deductions & credits

Ok thank you. So as an example, if I paid $500/mo or $6K/yr to lease an office space, and its use was split 50% / 50% between employee W-2 work and IC 1099 work, I could only deduct $3K in expenses on Schedule C, correct?