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

    <schemaVersion>X0202</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2007-06-22</periodOfReport>

    <issuer>
        <issuerCik>0001045810</issuerCik>
        <issuerName>NVIDIA CORP</issuerName>
        <issuerTradingSymbol>NVDA</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001197652</rptOwnerCik>
            <rptOwnerName>SEAWELL A BROOKE</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O NVIDIA CORPORATION</rptOwnerStreet1>
            <rptOwnerStreet2>2701 SAN TOMAS EXPRESSWAY</rptOwnerStreet2>
            <rptOwnerCity>SANTA CLARA</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>95050</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Director Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>43.62</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2007-06-22</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>24000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-06-21</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>24000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>24000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>Director Stock Option (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>43.62</value>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2007-06-22</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>8000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F2"/>
            </exerciseDate>
            <expirationDate>
                <value>2013-06-21</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>8000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>8000</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value></value>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Automatic grant in connection with service on the Board of Directors. The grant shall begin vesting on the second anniversary of the grant date and thereafter shall vest quarterly over one year, being fully vested in 2010, provided that the Reporting Person has attended at least 75% of the Board of Directors meetings in the two year period following the grant date. If the Reporting Person has not attended at least 75% of the Board of Directors meetings in the two year period following the grant date, the grant shall vest 30% on the third anniversary of the grant date, with the remaining 70% vesting on the fourth anniversary of the grant date. If the Reporting Person's service as a director terminates before the second anniversary of the grant date due to disability, the grant shall immediately vest and become exercisable on a quarterly pro rata basis.  If the Reporting Person's service as a director terminates due to death, the grant shall immediately vest and become exercisable.</footnote>
        <footnote id="F2">Automatic grant in connection with service on a Committee of the Board of Directors. The grant shall vest on the first anniversary of the grant date, provided that the Reporting Person has attended at least 75% of the Committee meetings in the year following the grant date. If the Reporting Person has attended fewer than 75% of the Committee meetings in the year following the grant date, the grant shall vest 10% per year for each of the first three years after the grant, with the remaining 70% vesting on the fourth anniversary of the grant date. If the Reporting Person's service as a director terminates before the first anniversary of the grant date due to disability, the grant shall immediately vest and become exercisable on a monthly pro rata basis.  If the Reporting Person's service as a director terminates due to death, the grant shall immediately vest and become exercisable.</footnote>
    </footnotes>

    <remarks></remarks>

    <ownerSignature>
        <signatureName>/s/ Christine Lillquist, Attorney-in-fact</signatureName>
        <signatureDate>2007-06-26</signatureDate>
    </ownerSignature>
</ownershipDocument>
