XML 48 R37.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Rafael Holdings, Inc. Spin-Off (Details Textual) - USD ($) $ in Thousands, shares in Millions | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Apr. 30, 2018 | Apr. 30, 2017 | Apr. 30, 2018 | Apr. 30, 2017 | Mar. 31, 2018
Rafael Holdings, Inc. Spin-Off (Textual) |  |  |  |  |
Stock-based compensation expense | $ 1,033 | $ 666 | $ 2,842 | $ 2,793 |
Rafael Class B Common Stock [Member] |  |  |  |  |
Rafael Holdings, Inc. Spin-Off (Textual) |  |  |  |  |
Options to purchase aggregate common stock |  |  |  |  | 0.6
Rafael Holdings Inc [Member] |  |  |  |  |
Rafael Holdings, Inc. Spin-Off (Textual) |  |  |  |  |
Stock-based compensation expense | $ 200 |  |  |  |
IDT Corporation Option Holder [Member] |  |  |  |  |
Rafael Holdings, Inc. Spin-Off (Textual) |  |  |  |  |
Options to purchase aggregate common stock |  |  |  |  | 1.3

X
- References No definition available. + Details
Name: | idt_RafaelHoldingsIncSpinOffTextualAbstract
Namespace Prefix: | idt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of options outstanding, including both vested and non-vested options. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=idt_RafaelClassBCommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=idt_RafaelHoldingsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=idt_IdtCorporationOptionHolderMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |