XML 60 R46.htm IDEA: XBRL DOCUMENT
v3.25.2

Financial Instruments - Additional Information (Details) - USD ($) $ in Millions | 3 Months Ended |
--- | --- | ---
Jul. 31, 2025 | Jul. 31, 2024 | Apr. 30, 2025
Financial Instrument [Line Items] |  |  |
Sale/maturities of available-for-sale marketable securities | $ 8.8 | $ 6.9 |
Unrealized gain (loss) related to equity securities | 10.3 | 11.7 |
Not Designated as Hedge Instrument | Foreign currency forward contracts |  |  |
Financial Instrument [Line Items] |  |  |
Foreign currency gains (losses) | (1.1) | $ (0.2) |
Not Designated as Hedge Instrument | Foreign currency forward contracts | Derivatives Purchased |  |  |
Financial Instrument [Line Items] |  |  |
Derivative notional amount | 91.7 |  | $ 74.7
Not Designated as Hedge Instrument | Foreign currency forward contracts | Derivatives Sold |  |  |
Financial Instrument [Line Items] |  |  |
Derivative notional amount | $ 43.0 |  | $ 42.6
Minimum |  |  |
Financial Instrument [Line Items] |  |  |
Marketable securities remaining maturity | 1 month |  |
Maximum |  |  |
Financial Instrument [Line Items] |  |  |
Marketable securities remaining maturity | 24 months |  |

X
- Definition Financial Instrument [Line Items] + References No definition available. + Details
Name: | kfy_FinancialInstrumentLineItems
Namespace Prefix: | kfy_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Marketable securities remaining maturity. + References No definition available. + Details
Name: | kfy_MarketableSecuritiesRemainingMaturity
Namespace Prefix: | kfy_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 182 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-182 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-4CC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Nominal or face amount used to calculate payment on derivative. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 181 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480401/815-10-55-181 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1B Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1A -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480434/815-10-50-1A + Details
Name: | us-gaap_DerivativeNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unrealized gain (loss) on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04(3)(d)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477250/944-220-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479536/321-10-50-4 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGainLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of cash inflow from sale, maturity, prepayment and call of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-11 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 12 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_HedgingDesignationAxis=us-gaap_NondesignatedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=kfy_DerivativesPurchasedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TradingActivityByTypeAxis=kfy_DerivativesSoldMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |