How can I measure income inequality as a dependent variable

How can I measure income inequality as a dependent variable and unions as an independent variable? How do I measure unions and how do I measure wage inequality. I want to see if unions can reduce income inequality. I have to measure for that. How are the two measurable? Unions and wage inequality?