 McCarthy was born in Galway.She earned bachelor's and master's degrees in mathematical physics from NUI Galway, and then continued her studies in computational and applied mathematics at Rice University, where she earned a second master's degree and in 1997 a Ph.D.Her dissertation, "An Investigation of the Optimal Design of the Tallest Unloaded Column", was supervised by Steven J. Cox.