your best bet is to talk with an accountant, or, if you're cheap or just curious, check out CRA, and find page that lists the formula. It IS complicated, due to the tax laws governing vehicle write-offs. While I remember some of it from CGA, I'm not an expert by any means. Call the experts, that's what they're there for.
