computer architecture – How would I go about calculating the index field / tag field?

For index field I got ‘9’ because 2^(9) = 512 words. But I’m stuck on what the formula for calculating the tag field is… any ideas?

Given a cache that holds 512 words and block size of one word. Assume 32-bit addresses. The index field is ____ bit. The tag field is ____ bit.