<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0303</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2010-11-22</periodOfReport>

    <issuer>
        <issuerCik>0001084755</issuerCik>
        <issuerName>ARIBA INC</issuerName>
        <issuerTradingSymbol>ARBA</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001183230</rptOwnerCik>
            <rptOwnerName>COSTELLO KEVIN</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>ARIBA, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>807 11TH AVENUE</rptOwnerStreet2>
            <rptOwnerCity>SUNNYVALE</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94089</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2010-11-22</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>120485</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>20.80</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>355716</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2010-11-24</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>18000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>20.4876</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>337716</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Reflects shares withheld or surrendered to the Issuer to satisfy income and employment tax withholding obligations in accordance with Rule 16b-3 upon settlement/vesting of awards covering an aggregate of 294,990 shares, specifically with respect to the following awards:  16,665 shares acquired pursuant to a restricted stock award (the acquisition of which shares were reported on a Form 4 for October 15, 2007, the &quot;2008 RS Award&quot;); 83,324 shares acquired pursuant to a fiscal year 2008 Performance Stock Unit (the acquisition of which shares were reported on a Form 4 for October 23, 2008, the &quot;2008 PSU&quot;); and 195,001 shares acquired pursuant to a fiscal year 2009 Performance Stock Unit (the acquisition of which shares were reported on a Form 4 for October 28, 2010, the &quot;2009 PSU&quot;).</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>Kevin Costello</signatureName>
        <signatureDate>2010-11-24</signatureDate>
    </ownerSignature>
</ownershipDocument>
