You mean this kind of rotation matrix?

Rotation matrix - Wikipedia, the free encyclopedia

You can derive the rotation matrix by considering what (1,0) and (0,1) map to when rotated by angle theta.

If you have a matrix of that form and need to find theta, you can do so using inverse trig functions.