Estimating painting house trim?

I am planning on starting a painting business. Most houses where I live have vinyl siding so you only need to paint the wood trim. How do you estimate those jobs? Do you charge by linear foot?
What is the going rate per linear foot? I am in the Chicago suburbs.
Yes, lineal foot is the best way to charge.