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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-08-06</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001073404</issuerCik>
        <issuerName>GERDAU S.A.</issuerName>
        <issuerTradingSymbol>GGB</issuerTradingSymbol>
        <issuerForeignTradingSymbol>GGBR</issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002120466</rptOwnerCik>
            <rptOwnerName>Japur Rafael Dorneles</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>AVENUE DOUTORA RUTH DE CARDOSO, 8501</rptOwnerStreet1>
            <rptOwnerStreet2>8TH FLOOR, PINHEIROS</rptOwnerStreet2>
            <rptOwnerCity>SAO PAULO</rptOwnerCity>
            <rptOwnerNonUSStateTerritory>SAO PAULO</rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>D5</rptOwnerCountry>
            <rptOwnerZipCode>05425-070</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <otherText>VP, CFO and IR Officer</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Preferred shares</value>
            </securityTitle>
            <transactionDate>
                <value>2026-08-06</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>10000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>5.1</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>86967</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.89</value>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2027-02-12</value>
            </exerciseDate>
            <expirationDate>
                <value>2027-02-12</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>8923</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>8923</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.89</value>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2027-02-22</value>
            </exerciseDate>
            <expirationDate>
                <value>2027-02-22</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>46634</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>46634</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.8</value>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2027-08-01</value>
            </exerciseDate>
            <expirationDate>
                <value>2027-08-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>38047</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>38047</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.65</value>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2028-02-12</value>
            </exerciseDate>
            <expirationDate>
                <value>2028-02-12</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>15830</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>15830</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>4.15</value>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2029-02-12</value>
            </exerciseDate>
            <expirationDate>
                <value>2029-02-12</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>29933</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>29933</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>4.15</value>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2029-02-25</value>
            </exerciseDate>
            <expirationDate>
                <value>2029-02-25</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>81108</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>81108</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The price is denominated in Brazilian reais and has been translated into U.S. dollars at the August 6, 2026 selling rate of R$5.1017 per US$1.00, as reported by the Central Bank of Brazil.</footnote>
        <footnote id="F2">The price is denominated in Brazilian reais and has been translated into U.S. dollars at the May 22 2026 selling rate of R$5.0140per US$1.00, as reported by the Central Bank of Brazil.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Rafael Dorneles Japur</signatureName>
        <signatureDate>2026-08-10</signatureDate>
    </ownerSignature>
</ownershipDocument>
