How to knit sweater in our size

Is there a formula to design the sweater to fit our own size
What is it ???
I thought to put in wffort in designing thw sweater tht atleast fit me rather than following the pattern and does not fit

There are some sites with places to plug in gauge and size.
http://www.woolworks.org/patterns/raglan.html
Here’s one example of a pullover with a formula for calculating stitch numbers.
http://www.knitty.com/ISSUEwinter04/FEATknitbynumbers.html
There are also books like Ann Budd’s that have tables of stitch numbers for various sweater styles and sizes. This one may be available at the library.