This has come in pretty handy lately:
width: 784px; /* 800 - (7 * 2) - (1 * 2) */
Whenever you subtract padding or border from an elements dimension, note the equation you did to arrive at the new number.
Did you meet LESS yet? It’s awsome!
And for all Textmate user : CTRL+SHIFT+C : calculate the selection (: