How much can you cut a 2 x 4 when it is not used for a bearing wall?

How much can you cut a 2 x 4 when it is not used for a bearing wall?