Now that calc is widely supported among modern browsers, you can use:
#myDiv {
width: calc(100% / 3);
}
Or you can use this as a fallback if your browser wouldn’t support it:
#myDivWithFallback {
width: 33.33%;
width: calc(100% / 3);
}