| Cash and cash equivalents | $1.63B+10.9% | $1.47B+20.2% | $1.22B+230.3% | $370.0M-62.8% | $995.2M |
| Restricted cash | $47.9M+0.2% | $47.8M-4.0% | $49.8M-1.0% | $50.3M-1.9% | $51.3M |
| Corporate investments | $34.5M+1.8% | $33.9M-90.9% | $373.4M-56.3% | $853.9M+2226.7% | $36.7M |
| Interest receivable | $27.9M+19.7% | $23.3M-4.5% | $24.4M+9.4% | $22.3M-8.6% | $24.4M |
| Accounts receivable, net of allowance for credit losses | $1.33B+25.6% | $1.06B+21.3% | $873.3M+20.7% | $723.8M+25.2% | $578.3M |
| PEO unbilled receivables, net of advance collections | $616.6M+13.7% | $542.4M+2.6% | $528.5M-7.6% | $572.1M+26.9% | $450.9M |
| Prepaid income taxes | $38.9M-18.1% | $47.5M-1.2% | $48.1M+41.5% | $34.0M+1.5% | $33.5M |
| Prepaid expenses and other current assets | $378.3M+17.5% | $321.9M+11.1% | $289.8M+6.4% | $272.3M+9.3% | $249.2M |
| Current assets before funds held for clients | $4.10B+15.7% | $3.55B+4.0% | $3.41B+17.6% | $2.90B+19.8% | $2.42B |
| Funds held for clients | $4.81B+29.9% | $3.71B-10.0% | $4.12B+11.8% | $3.68B-1.8% | $3.75B |
| Total current assets | $8.92B+23.0% | $7.25B-3.7% | $7.53B+14.4% | $6.58B+6.7% | $6.17B |
| Long-term corporate investments | $0-100.0% | $3.7M-2.6% | $3.8M-24.0% | $5.0M-29.6% | $7.1M |
| Property and equipment, net of accumulated depreciation | $511.5M+24.2% | $411.7M+3.9% | $396.3M-1.2% | $401.3M+1.4% | $395.8M |
| Operating lease right-of-use assets, net of accumulated amortization | $63.8M+36.0% | $46.9M-23.7% | $61.5M-21.9% | $78.7M-23.6% | $103.0M |
| Intangible assets, net of accumulated amortization | $1.95B+901.2% | $194.5M+3.8% | $187.4M-16.6% | $224.6M-18.6% | $275.8M |
| Goodwill | $4.51B+139.8% | $1.88B+2.7% | $1.83B+0.1% | $1.83B+0.6% | $1.82B |
| Long-term deferred costs | $482.4M+1.1% | $477.1M+1.5% | $470.1M+8.5% | $433.3M+12.8% | $384.1M |
| Other long-term assets | $128.5M+11.7% | $115.0M+76.4% | $65.2M+21.4% | $53.7M+57.0% | $34.2M |
| Total assets | $16.56B+59.5% | $10.38B-1.5% | $10.55B+9.5% | $9.64B+4.4% | $9.23B |
| Accounts payable | $129.8M+24.4% | $104.3M+23.1% | $84.7M-19.9% | $105.7M+18.8% | $89.0M |
| Accrued corporate compensation and related items | $183.9M+36.2% | $135.0M-35.7% | $209.9M-6.9% | $225.4M+7.5% | $209.7M |
| Accrued worksite employee compensation and related items | $735.8M+11.1% | $662.4M-13.3% | $763.9M+11.8% | $683.4M+16.5% | $586.4M |
| Short-term debt | $18.6M-0.5% | $18.7M+83.3% | $10.2M+17.2% | $8.7M+17.6% | $7.4M |
| Long-term debt, net, current portion | $399.8M | $0 | — | — | — |
| Deferred revenue | $69.4M+38.2% | $50.2M+6.1% | $47.3M+23.2% | $38.4M+1.3% | $37.9M |
| Other current liabilities | $552.0M+17.5% | $469.8M+18.8% | $395.4M+1.8% | $388.4M+15.3% | $336.8M |
| Current liabilities before client fund obligations | $2.09B+45.0% | $1.44B-4.7% | $1.51B+4.2% | $1.45B+14.4% | $1.27B |
| Client fund obligations | $4.87B+25.8% | $3.87B-9.9% | $4.29B+12.4% | $3.82B+4.0% | $3.67B |
| Total current liabilities | $6.96B+31.0% | $5.31B-8.5% | $5.81B+10.2% | $5.27B+6.7% | $4.94B |
| Accrued income taxes | $119.0M+16.0% | $102.6M+23.6% | $83.0M+42.9% | $58.1M+125.2% | $25.8M |
| Deferred income taxes | $444.7M+417.1% | $86.0M-23.3% | $112.1M-32.3% | $165.5M-24.1% | $218.0M |
| Long-term debt, net of debt issuance costs | $4.55B+469.5% | $798.6M+0.1% | $798.2M+0.1% | $797.7M+0.1% | $797.3M |
| Operating lease liabilities | $55.5M+13.3% | $49.0M-14.5% | $57.3M-23.4% | $74.8M-19.0% | $92.4M |
| Other long-term liabilities | $312.2M+31.8% | $236.8M+20.1% | $197.2M+6.8% | $184.7M-11.0% | $207.5M |
| Total liabilities | $12.44B+88.9% | $6.58B-6.7% | $7.05B+7.7% | $6.55B+4.3% | $6.28B |
| Common stock, $0.01 par value; Authorized: 600.0 shares; Issued and outstanding: 360.5 shares as of May 31, 2025 and 360.1 shares as of May 31, 2024 | $3.6M+0.0% | $3.6M+0.0% | $3.6M+0.0% | $3.6M+0.0% | $3.6M |
| Additional paid-in capital | $1.90B+9.9% | $1.73B+6.3% | $1.63B+5.2% | $1.55B+6.9% | $1.45B |
| Retained earnings | $2.28B+2.9% | $2.21B+9.4% | $2.02B+21.2% | $1.67B+15.5% | $1.45B |
| Accumulated other comprehensive loss | -$53.7M+63.0% | -$145.1M+9.3% | -$159.9M-19.4% | -$133.9M-358.5% | $51.8M |
| Total stockholders' equity | $4.13B+8.6% | $3.80B+8.8% | $3.49B+13.2% | $3.09B+4.7% | $2.95B |
| Total liabilities and stockholders' equity | $16.56B+59.5% | $10.38B-1.5% | $10.55B+9.5% | $9.64B+4.4% | $9.23B |