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

Financial Instruments - Additional Information (Detail) - USD ($) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Jul. 31, 2020 | Jul. 31, 2019 | Apr. 30, 2020
Financial Instrument [Line Items] |  |  |
Sale/maturities of available-for-sale marketable securities | $ 11,800,000 | $ 0 |
Unrealized loss relates to equity securities |  |  | $ 8,200,000
Unrealized gains relates to equity securities | 11,400,000 |  |
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts |  |  |
Financial Instrument [Line Items] |  |  |
Foreign currency gains (losses) | 800,000 | $ (1,600,000) |
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Purchased |  |  |
Financial Instrument [Line Items] |  |  |
Derivative notional amount | 86,300,000 |  | 91,200,000
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Sold |  |  |
Financial Instrument [Line Items] |  |  |
Derivative notional amount | $ 46,200,000 |  | $ 41,800,000
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 | 9 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=121590274&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=121590274&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=121590274&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=121590274&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=120269885&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 unrealized 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 -Publisher FASB -Name Accounting Standards Codification -Topic 321 -SubTopic 10 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=120269885&loc=SL75117546-209714 + Details
Name: | us-gaap_EquitySecuritiesFvNiUnrealizedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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=121586364&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=121586364&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=121553693&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: |