Lay a framing square on top of a post, with its long end parallel with the edge of the post and its short end extending across the width of the post.
Hold the framing square firmly against the post, and use a pencil to draw a line about an inch from its end.
Cut the end off the post with a circular saw, carefully following the pencil mark with the blade of the saw.
Hook the end of your measuring tape over the end of the post you just cut, and extend it along the length of the post. Make a pencil mark at the length where you want to cut the post.
Lay the framing square on the post, with its long end parallel with the edge of the post and its short end extending across the post at the point where you made the pencil mark. Draw a line across the width of the post at that point.
Cut the post using a circular saw, carefully following the pencil line.