The mechanical properties of microtubules have been extensively studied using a wide range of biophysical techniques, seeking to understand the mechanics of these cylindrical polymers. Here we develop a method for connecting all-atom molecular dynamics simulations with continuum mechanics and show how this can be applied to understand microtubule mechanics. Our coarse-graining technique applied to the microscopic simulation system yields consistent predictions for the Young's modulus and persistence length of microtubules, while clearly demonstrating how binding of the drug Taxol decreases the stiffness of microtubules. The techniques we develop should be widely applicable to other macromolecular systems. © 2010 The American Physical Society.