Can i use my check stub instead of w2

I want to estimate my taxes, but i haven't gotten my w2 but have both my last check stubs from 2016 how can i use these