XML 61 R45.htm IDEA: XBRL DOCUMENT
v3.21.2

Financial Instruments - Additional Information (Detail) - USD ($) $ in Millions | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Oct. 31, 2021 | Oct. 31, 2020 | Oct. 31, 2021 | Oct. 31, 2020 | Apr. 30, 2021
Financial Instrument [Line Items] |  |  |  |  |
Sale/maturities of available-for-sale marketable securities | $ 14.3 | $ 16.7 | $ 36.0 | $ 28.4 |
Unrealized gains relates to equity securities |  |  | 8.1 | 11.2 |
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts |  |  |  |  |
Financial Instrument [Line Items] |  |  |  |  |
Foreign currency gains (losses) | 0.4 | $ (0.5) | 0.5 | $ 0.3 |
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Purchased |  |  |  |  |
Financial Instrument [Line Items] |  |  |  |  |
Derivative notional amount | 90.0 |  | 90.0 |  | $ 69.4
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Sold |  |  |  |  |
Financial Instrument [Line Items] |  |  |  |  |
Derivative notional amount | $ 44.4 |  | $ 44.4 |  | $ 44.9
Available-for-sale Marketable Securities | Minimum |  |  |  |  |
Financial Instrument [Line Items] |  |  |  |  |
Marketable securities remaining maturity |  |  | 1 month |  |
Available-for-sale Marketable Securities | Maximum |  |  |  |  |
Financial Instrument [Line Items] |  |  |  |  |
Marketable securities remaining maturity |  |  | 23 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/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4CC -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959 + 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/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959 + 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 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 -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=123583765&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedGain
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/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3151-108585 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562 + 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_BalanceSheetLocationAxis=kfy_IncomeTaxesAndOtherReceivablesMember
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: | us-gaap_InvestmentTypeAxis=us-gaap_AvailableforsaleSecuritiesMember
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: |