This question already has an answer here:
I have a question in reading Harry Potter yet again. How strong, vs. Voldemort aside, is Harry? We see all these comparisons, like Snape and his potions book, Tom and his accomplishments, the twins and their abilities, and Dummbldor. So, is there anything that we might base his magic level on? I mean, it seems that he lacks a strong magic knowledge. He mentions at the end of Goblet of knowing a boatload of hexes when giving the gold to the twins. I reference Robert Jordan and his epic Wheel of Time where each user of the Power could sense strength, how do we know relative strengths with magic, and where would Harry stand?