Return on equity (ROE) is the amount of net income returned as a percentage of shareholders equity. Return on equity measures a corporation's profitability by revealing how much profit a company generates with the money shareholders have invested.

More information is here.

Enter returned net income

Enter shareholder´s equity value

I invested 10,000 Euros. The profit from this investment was 2,000 Euros.

Then

ROE=2000/10,000

ROE=0.2 or 20%