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

    <schemaVersion>X0206</schemaVersion>

    <documentType>3/A</documentType>

    <periodOfReport>2025-01-20</periodOfReport>

    <dateOfOriginalSubmission>2025-01-22</dateOfOriginalSubmission>

    <noSecuritiesOwned>0</noSecuritiesOwned>

    <issuer>
        <issuerCik>0000055242</issuerCik>
        <issuerName>KENNAMETAL INC</issuerName>
        <issuerTradingSymbol>KMT</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002052896</rptOwnerCik>
            <rptOwnerName>Hamadi Faisal</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>525 WILLIAM PENN PLACE</rptOwnerStreet1>
            <rptOwnerStreet2>33RD FLOOR</rptOwnerStreet2>
            <rptOwnerCity>PITTSBURGH</rptOwnerCity>
            <rptOwnerState>PA</rptOwnerState>
            <rptOwnerZipCode>15219</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F1"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F1"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>16317</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Restricted stock units are subject to time-based vesting and are disbursed in three equal annual installments commencing on the first anniversary date of the grant date (August 1, 2024).</footnote>
        <footnote id="F2">1 for 1</footnote>
    </footnotes>

    <remarks>See attached &quot;Remarks&quot; page.
These holdings were previously reported on the Form 3 filed January 22, 2025. The sole purpose of this amended Form 3 is to add Exhibit 24, Power of Attorney.</remarks>

    <ownerSignature>
        <signatureName>Michelle R. Keating, as attorney-in-fact for Faisal Hamadi</signatureName>
        <signatureDate>2025-01-23</signatureDate>
    </ownerSignature>
</ownershipDocument>
