A stapler is provided. The stapler includes a handle assembly and a shaft extending distally from the handle assembly. A tool assembly is configured to selectively couple to the shaft and includes a cartridge assembly and an anvil assembly. The cartridge assembly includes a staple guide defining a tissue contacting surface. A resilient member operably positioned within the cartridge assembly is configured to bias the staple guide distally to provide a predetermined compressive force against tissue when the cartridge assembly and anvil are approximated toward one another.