<?xml version="1.0"?>

<ownershipDocument>

    <schemaVersion>X0201</schemaVersion>

    <documentType>3</documentType>

    <periodOfReport>2003-07-18</periodOfReport>


    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0000047217</issuerCik>
        <issuerName>HEWLETT PACKARD CO</issuerName>
        <issuerTradingSymbol>HPQ</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001256992</rptOwnerCik>
            <rptOwnerName>LESJAK CATHERINE A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1></rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity></rptOwnerCity>
            <rptOwnerState></rptOwnerState>
            <rptOwnerZipCode></rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle>Sr. Vice President,</officerTitle>
            <otherText>Treasurer</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>

        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>187.7307</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>

        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>211.849</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Husband</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>

    </nonDerivativeTable>

    <derivativeTable>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>7.2</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>1994-11-18</value>
            </exerciseDate>
            <expirationDate>
                <value>2003-11-17</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3070</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F2"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>7.39</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>1999-11-17</value>
            </exerciseDate>
            <expirationDate>
                <value>2004-11-16</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3838</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F3"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>13.175</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2000-11-17</value>
            </exerciseDate>
            <expirationDate>
                <value>2005-11-16</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>2302</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F4"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>20.51</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>1997-11-21</value>
            </exerciseDate>
            <expirationDate>
                <value>2006-11-20</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3454</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F5"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>22.22</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2000-02-12</value>
            </exerciseDate>
            <expirationDate>
                <value>2009-02-11</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>8958</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F6"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>48.495</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2001-02-15</value>
            </exerciseDate>
            <expirationDate>
                <value>2010-02-14</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>15358</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F7"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>59.58</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2005-06-05</value>
            </exerciseDate>
            <expirationDate>
                <value>2010-06-04</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>200</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F8"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>45.645</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2003-07-07</value>
            </exerciseDate>
            <expirationDate>
                <value>2010-07-06</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>10000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F9"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>60.86</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2001-07-07</value>
            </exerciseDate>
            <expirationDate>
                <value>2010-07-06</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>10000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F10"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>30.09</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2002-02-26</value>
            </exerciseDate>
            <expirationDate>
                <value>2011-02-25</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>10000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F11"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>18.8</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2003-11-09</value>
            </exerciseDate>
            <expirationDate>
                <value>2011-11-08</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>5000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F12"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>21.75</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2003-01-31</value>
            </exerciseDate>
            <expirationDate>
                <value>2012-01-30</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>18000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

        <derivativeHolding>
            <securityTitle>
                <value>Stock Option</value>
                <footnoteId id="F13"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>15.745</value>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2004-04-16</value>
            </exerciseDate>
            <expirationDate>
                <value>2011-04-15</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>17755</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>

    </derivativeTable>

    <footnotes>
        <footnote id="F1">Right to buy Hewlett-Packard Company common stock granted under the 1990 Stock Option Plan complying with Rule 16b-3. This option became fully vested on 11/18/97.</footnote>
        <footnote id="F2">Right to buy Hewlett-Packard Company common stock granted under the 1990 Stock Option Plan complying with Rule 16b-3. This option became vested on 11/17/1999.</footnote>
        <footnote id="F3">Right to buy Hewlett-Packard Company common stock granted under the 1990 Stock Option Plan complying with Rule 16b-3. This option became fully vested on 11/17/00.</footnote>
        <footnote id="F4">Right to buy Hewlett-Packard Company common stock granted under the 1995 Stock Option Plan complying with Rule 16b-3. This option became fully vested on 11/21/00.</footnote>
        <footnote id="F5">Right to buy Hewlett-Packard Company common stock granted under the 1995 Stock Option Plan complying with Rule 16b-3. This option became fully vested on 02/12/03.</footnote>
        <footnote id="F6">Right to buy Hewlett-Packard Company common stock granted under the 1995 Stock Option Plan complying with Rule 16b-3. This option became exercisable in 25% increments annually on 02/15/01.</footnote>
        <footnote id="F7">Right to buy Hewlett-Packard Company common stock granted under the 2000 Stock Option Plan complying with Rule 16b-3. This option will become fully exercisable after the fifth year.</footnote>
        <footnote id="F8">Right to buy Hewlett-Packard Company common stock granted under the 2000 Stock Option Plan complying with Rule 16b-3. This option became fully vested on 07/07/03.</footnote>
        <footnote id="F9">Right to buy Hewlett-Packard Company common stock granted under the 2000 Stock Option Plan complying with Rule 16b-3. This option became exercisable in 25% increments annually on 07/07/01.</footnote>
        <footnote id="F10">Right to buy Hewlett-Packard Company common stock granted under the 2000 Stock Option Plan complying with Rule 16b-3. This option became exercisable in 25% increments annually on 02/26/02.</footnote>
        <footnote id="F11">Right to buy Hewlett-Packard Company common stock granted under the 2000 Stock Option Plan complying with Rule 16b-3. This option became exercisable in 25% increments annually on 11/09/02.</footnote>
        <footnote id="F12">Right to buy Hewlett-Packard Company common stock granted under the 2000 Stock Option Plan complying with Rule 16b-3. This option became exercisable in 25% increments annually on 01/31/03.</footnote>
        <footnote id="F13">Right to buy Hewlett-Packard Company common stock granted under the 2000 Stock Option Plan complying with Rule 16b-3. This option will be exercisable in 25% increments annually beginning on 4/16/04.</footnote>
    </footnotes>


    <ownerSignature>
        <signatureName>Catherine A. Lesjak</signatureName>
        <signatureDate>2003-07-24</signatureDate>
    </ownerSignature>

</ownershipDocument>

