Business & farm

Thanks!  Do I base it on the entire amount of my contribution.  For example if mortgage interest is $10,000 do use the sqft percentage times the $10k or times $5,000 - my half of the contribution?