How to Mark a Sill Plate for Anchor Bolts is easy as long as you follow some easy techniques that will help you get an accurate and secure plate.
Sill Plate Installation
With the foundation complete, the next critical phase of framing begins with the installation of the sill plate (often referred to as the mudsill). The sill plate serves as the structural interface between your concrete foundation and the wooden floor system. Anchored directly to the top of the foundation wall, it provides a secure, level nailing surface for the floor joists and rim joists.
For standard poured concrete foundations, a 2x6 lumber profile is typically used, while concrete block foundations often require a 2x8 plate to match the wall width.

Just as an FYI:
The lumber is pressure treated so it doesn't mold or rot in the humidity. It is injected with a chemical that bugs won't eat, so the sill plate could last for over a hundred years.
Modern pressure-treated lumber generally uses copper-based treatments like MCA or ACQ, not arsenic, which was phased out for residential use in 2003. Arsenic created a hazard when burned in firepits at construction sites so it seems reasonable to find alternatives.
The "Roll-Marking" Sill Plate Layout
Use this classic framing trick to transfer bolt locations onto your pressure-treated sill plates without measuring errors.

The foam mudsill gasket adds another barrier of protection between the concrete and the wood. It comes available in a few different sizes depending on your sill plate width.

Sill Sealer Layer: Before placing the lumber, roll out a continuous layer of foam sill sealer (mudsill gasket) along the top of the concrete. This creates a capillary break that blocks rising moisture and seals air gaps between the rough concrete and the straight lumber.

Once you have the board on you can begin to secure the bolts with washers and nuts.
When you make a last minute 3-4-5 diagonal measurement and find out that the foundation is a little bit out of square, you can compensate at this point by drilling larger holes into the board so you can move each piece so that you can get a close measurement.
The method below shows how to compensate if your foundation is a little out of square.
🛠️ Troubleshooting: What to Do If Your Foundation is Out of Square
It is a nightmare scenario for any owner-builder: you stretch your tape measures to run the 3-4-5 diagonal check on your completed concrete foundation, and the numbers don’t match. Your foundation is out of square.
Don't panic, and do not pour more concrete. Because wood framing is forgiving, you can correct an out-of-square foundation directly on top of the concrete using your sill plate layout.
The "Overhang and Underhang" Adjustment Strategy
If your concrete corners form a parallelogram instead of a perfect rectangle, you can fix the geometry by shifting your wooden sill plate layout into a perfect rectangle on top of the concrete.
Step-by-Step Squaring Adjustment