A handy tool for this is System Requirements Lab. You can visit it at systemrequirementslab.com.
Simply select the game you want to play, and it will scan your hardware and software to tell you whether your PC is up to the task.