<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="P08_26_2026To08_26_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001372612</identifier>
        </entity>
        <period>
            <startDate>2026-08-26</startDate>
            <endDate>2026-08-26</endDate>
        </period>
    </context>
    <context id="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001372612</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-26</startDate>
            <endDate>2026-08-26</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_pure">
        <measure>pure</measure>
    </unit>
    <unit id="Unit_shares">
        <measure>shares</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P08_26_2026To08_26_2026" id="ixv-172">0001372612</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="P08_26_2026To08_26_2026" id="hidden171193749">BOX INC</dei:EntityRegistrantName>
    <ffd:FeeExhibitTp contextRef="P08_26_2026To08_26_2026" id="ixv-174">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="P08_26_2026To08_26_2026" id="ixv-175">N/A</ffd:OffsetTableNa>
    <ffd:PrevslyPdFlg
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      id="ixv-176">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTitl
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      id="hidden171193777">Class A common stock, $0.0001 par value per share, reserved for issuance pursuant to the Registrant's Amended and Restated 2015 Equity Incentive Plan</ffd:OfferingSctyTitl>
    <ffd:FormTp contextRef="P08_26_2026To08_26_2026" id="ixv-202">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="P08_26_2026To08_26_2026" id="ixv-203">S-8</ffd:SubmissnTp>
    <ffd:OfferingSctyTp
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      id="ixv-204">Equity</ffd:OfferingSctyTp>
    <ffd:FeesOthrRuleFlg
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      id="ixv-205">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      decimals="0"
      id="ixv-206"
      unitRef="Unit_shares">7200000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-207"
      unitRef="Unit_pure">32.71</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-208"
      unitRef="Unit_USD">235512000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      decimals="7"
      id="ixv-209"
      unitRef="Unit_pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-210"
      unitRef="Unit_USD">32524.21</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="P08_26_2026To08_26_2026"
      decimals="2"
      id="ixv-211"
      unitRef="Unit_USD">235512000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="P08_26_2026To08_26_2026"
      decimals="2"
      id="ixv-212"
      unitRef="Unit_USD">32524.21</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt
      contextRef="P08_26_2026To08_26_2026"
      decimals="0"
      id="ixv-213"
      unitRef="Unit_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="P08_26_2026To08_26_2026"
      decimals="2"
      id="ixv-214"
      unitRef="Unit_USD">32524.21</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="P08_26_2026To08_26_2026_1TypedMemberffdOfferingAxis"
      id="ixv-149">
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(1)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style=" margin-top:0pt ; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;text-align:left"&gt;Pursuant to Rule 416(a) of the Securities Act of 1933, as amended (the &#x201c;&lt;div style="font-weight:bold;display:inline;"&gt;Securities Act&lt;/div&gt;&#x201d;), this Registration Statement shall also cover any additional shares of the Registrant&#x2019;s Class&#160;A common stock (&#x201c;&lt;div style="font-weight:bold;display:inline;"&gt;Class&lt;/div&gt;&lt;div style="font-weight:bold;display:inline;"&gt;&lt;/div&gt;&lt;div style="font-weight:bold;display:inline;"&gt;&#160;A common stock&lt;/div&gt;&#x201d;) that become issuable under the Registrant&#x2019;s Amended and Restated 2015 Equity Incentive Plan (&#x201c;&lt;div style="font-weight:bold;display:inline;"&gt;2015 Plan&lt;/div&gt;&#x201d;) by reason of any stock dividend, stock split, recapitalization, or other similar transaction effected without receipt of consideration that increases the number of outstanding shares of Class&#160;A common stock. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(2)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style=" margin-top:0pt ; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;text-align:left"&gt;Reflects an increase to the number of shares of Class&#160;A common stock reserved for issuance under the 2015 Plan, as approved by the Registrant&#x2019;s stockholders at the Registrant&#x2019;s annual meeting held on June&#160;25, 2026. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(3)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style=" margin-top:0pt ; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;text-align:left"&gt;Estimated in accordance with Rule 457(c) and (h)&#160;of the Securities Act solely for the purpose of calculating the registration fee on the basis of $32.71 per share, which is the average of the high and low prices of Class&#160;A common stock, as reported on the New York Stock Exchange, on August&#160;21, 2026. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</ffd:OfferingNote>
</xbrl>
